* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h"
+
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
return -1;
}
return 0;
- case PIPE:
- case CDEV:
- case BDEV:
- case SOCK:
- printf("%s: unhandled file type %d\n", buffer, mode >> 12);
- return 0;
case LINK:
+#if HAVE_SYMLINK
if (installer_inflate(installer)) {
fprintf(stderr, "failed to inflate\n");
return -1;
return -1;
}
return 0;
+#else
+ /* fall through */
+#endif
+ case PIPE:
+ case CDEV:
+ case BDEV:
+ case SOCK:
+ printf("%s: unhandled file type %d\n", buffer, mode >> 12);
+ return 0;
default:
printf("%s: unknown file type %d\n", buffer, mode >> 12);
return 0;