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
commit0fa857f3bad4ee0c385aa3fac6defa97e3e1b991 (patch)
tree5fb00658b99f7c4d30c3bea9d9fecd5a349a657e /scripts/config
parent35a9cb833ce921a3afdd1f24d9eaade2c2481c25 (diff)
downloadupstream-0fa857f3bad4ee0c385aa3fac6defa97e3e1b991.tar.gz
upstream-0fa857f3bad4ee0c385aa3fac6defa97e3e1b991.tar.bz2
upstream-0fa857f3bad4ee0c385aa3fac6defa97e3e1b991.zip
scripts/config: fix segfault introduced in r43652
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43695
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"