Browse Source

Include libgen.h in opt.c to fix win32 compilation warnings.

Con Kolivas 14 years ago
parent
commit
8d096bd317
1 changed files with 1 additions and 0 deletions
  1. 1 0
      ccan/opt/opt.c

+ 1 - 0
ccan/opt/opt.c

@@ -7,6 +7,7 @@
 #ifndef WIN32
 	#include <err.h>
 #else
+#include <libgen.h>
 	#define errx(status, fmt, ...) { \
 			fprintf(stderr, fmt, __VA_ARGS__); \
 			fprintf(stderr, "\n"); \