]> Zhao Yanbai Git Server - minix.git/commitdiff
writeisofs build fix (missing NAME_MAX define).
authorRyan Sheridan <ryridan@gmail.com>
Mon, 17 Mar 2014 20:06:32 +0000 (13:06 -0700)
committerLionel Sambuc <lionel@minix3.org>
Mon, 28 Jul 2014 15:05:20 +0000 (17:05 +0200)
Building writeisofs on OS X led to a failure due to the NAME_MAX define
being missing.

commands/writeisofs/writeisofs.c

index 9029f2efc0d6454f08c025f24cf4f842dc52579d..4df404799075a58899bd91ab256857fdd50413cc 100644 (file)
@@ -1,6 +1,10 @@
 
 /* writeisofs - simple ISO9660-format-image writing utility */
 
+#if HAVE_NBTOOL_CONFIG_H
+#include "nbtool_config.h"
+#endif
+
 #include <errno.h>
 #include <stdio.h>
 #include <time.h>