summaryrefslogtreecommitdiff
path: root/src/flexdef.h
diff options
context:
space:
mode:
authorWill Estes <westes575@gmail.com>2015-12-27 13:46:37 -0500
committerWill Estes <westes575@gmail.com>2015-12-27 13:46:37 -0500
commit5d22149d43adc61f2e64d25df26389044d1d9821 (patch)
tree5e45d4b4664613e9c824a2642b74dd8f5f741fbf /src/flexdef.h
parent145968f5e23c7c2c5ed847a482c337f5459fb4ad (diff)
include libgen.h from flexdef.h, not main.c
Diffstat (limited to 'src/flexdef.h')
-rw-r--r--src/flexdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/flexdef.h b/src/flexdef.h
index 5449581..dec5695 100644
--- a/src/flexdef.h
+++ b/src/flexdef.h
@@ -45,6 +45,7 @@
#include <stdarg.h>
#include <setjmp.h>
#include <ctype.h>
+#include <libgen.h> /* for XPG version of basename(3) */
#include <string.h>
#include <math.h>
#endif