Browse Source

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

nfactor-troky
Con Kolivas 13 years ago
parent
commit
8d096bd317
  1. 1
      ccan/opt/opt.c

1
ccan/opt/opt.c

@ -7,6 +7,7 @@ @@ -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"); \

Loading…
Cancel
Save