aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-12-13 14:01:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-12-13 14:01:26 +0000
commitaa4cbcc9bbdaa824856d4feb9e2ead156e263a39 (patch)
treeff7e10a6eede6a606d14098c76d5b8f0c40f3c56 /scripts/config
parent540a4e981d238b90a647bf0a9234069373547dfa (diff)
downloadupstream-aa4cbcc9bbdaa824856d4feb9e2ead156e263a39.tar.gz
upstream-aa4cbcc9bbdaa824856d4feb9e2ead156e263a39.tar.bz2
upstream-aa4cbcc9bbdaa824856d4feb9e2ead156e263a39.zip
scripts/config: fix segfault introduced in r43652
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43695 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/config')
-rw-r--r--scripts/config/zconf.l1
-rw-r--r--scripts/config/zconf.lex.c_shipped1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/config/zconf.l b/scripts/config/zconf.l
index 1dd765817a..0287f454e3 100644
--- a/scripts/config/zconf.l
+++ b/scripts/config/zconf.l
@@ -14,6 +14,7 @@
#include <string.h>
#include <unistd.h>
#include <glob.h>
+#include <libgen.h>
#include "lkc.h"
diff --git a/scripts/config/zconf.lex.c_shipped b/scripts/config/zconf.lex.c_shipped
index d604b820c2..4e0e5f504b 100644
--- a/scripts/config/zconf.lex.c_shipped
+++ b/scripts/config/zconf.lex.c_shipped
@@ -777,6 +777,7 @@ char *zconftext;
#include <string.h>
#include <unistd.h>
#include <glob.h>
+#include <libgen.h>
#include "lkc.h"