summaryrefslogtreecommitdiff
path: root/src/flexdef.h
diff options
context:
space:
mode:
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