scripts/config: fix segfault introduced in r43652
authorFelix Fietkau <nbd@openwrt.org>
Sat, 13 Dec 2014 14:01:26 +0000 (14:01 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 13 Dec 2014 14:01:26 +0000 (14:01 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43695

scripts/config/zconf.l
scripts/config/zconf.lex.c_shipped

index 1dd7658..0287f45 100644 (file)
@@ -14,6 +14,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <glob.h>
+#include <libgen.h>
 
 #include "lkc.h"
 
index d604b82..4e0e5f5 100644 (file)
@@ -777,6 +777,7 @@ char *zconftext;
 #include <string.h>
 #include <unistd.h>
 #include <glob.h>
+#include <libgen.h>
 
 #include "lkc.h"