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 1dd765817a78e7da5701dd04d096737895f145ad..0287f454e380a35e7e981a485a3c57b7ef507265 100644 (file)
@@ -14,6 +14,7 @@
 #include <string.h>
 #include <unistd.h>
 #include <glob.h>
+#include <libgen.h>
 
 #include "lkc.h"
 
index d604b820c25bf780e9214cbc9bf943d3d5f41527..4e0e5f504bbf42eb8ce3eac24dccd1e47badd4a2 100644 (file)
@@ -777,6 +777,7 @@ char *zconftext;
 #include <string.h>
 #include <unistd.h>
 #include <glob.h>
+#include <libgen.h>
 
 #include "lkc.h"