diff options
author | Mocramis <mocramis@gmail.com> | 2018-01-08 21:21:13 +0100 |
---|---|---|
committer | Mocramis <mocramis@gmail.com> | 2018-01-08 21:21:13 +0100 |
commit | bf5c783d4cad55ba41210ba71b3c8e28ce63cfa8 (patch) | |
tree | 63ad90bbc798f6cca9b8cf3d11614b480fc76c1b /tools | |
parent | 1ec3d3f143a201984d51f1cff91b0fe29cde2b71 (diff) | |
parent | 65f71c221037e468caa5921d23a86da34f3bd0a5 (diff) |
Merge branch 'master' into perfmon
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kconfig/conf.c | 4 | ||||
-rw-r--r-- | tools/kconfig/mconf.c | 4 | ||||
-rw-r--r-- | tools/kconfig/zconf.lex.c_shipped | 4 |
3 files changed, 12 insertions, 0 deletions
diff --git a/tools/kconfig/conf.c b/tools/kconfig/conf.c index 866369f..5c16d33 100644 --- a/tools/kconfig/conf.c +++ b/tools/kconfig/conf.c @@ -18,6 +18,10 @@ #include "lkc.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + static void conf(struct menu *menu); static void check_conf(struct menu *menu); static void xfgets(char *str, int size, FILE *in); diff --git a/tools/kconfig/mconf.c b/tools/kconfig/mconf.c index 315ce2c..9d8a1f2 100644 --- a/tools/kconfig/mconf.c +++ b/tools/kconfig/mconf.c @@ -22,6 +22,10 @@ #include "lkc.h" #include "lxdialog/dialog.h" +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + static const char mconf_readme[] = N_( "Overview\n" "--------\n" diff --git a/tools/kconfig/zconf.lex.c_shipped b/tools/kconfig/zconf.lex.c_shipped index 37fdf61..d7eb9ff 100644 --- a/tools/kconfig/zconf.lex.c_shipped +++ b/tools/kconfig/zconf.lex.c_shipped @@ -875,6 +875,10 @@ static void warn_ignored_character(char chr) #include <unistd.h> #endif +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + #ifndef YY_EXTRA_TYPE #define YY_EXTRA_TYPE void * #endif |