summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-05-13 10:04:35 +0200
committerunknown <lenz@mysql.com>2005-05-13 10:04:35 +0200
commite0d3e956bf32e1073fab8eb9f4f4edf148935842 (patch)
tree041f6190106dec24e41b0ddb81daeeba02d551c6 /cmd-line-utils
parentacac0bf4c7853801997c6d988b5406856c7cbc9f (diff)
downloadmariadb-git-e0d3e956bf32e1073fab8eb9f4f4edf148935842.tar.gz
- don't include sys.h directly in the autogenerated libedit sourcemysql-4.1.12
files - include config.h instead (compile fix for FreeBSD and AIX 4.3/5.2) cmd-line-utils/libedit/makelist.sh: - don't include sys.h directly in the autogenerated files - include config.h instead (compile fix for FreeBSD and AIX 4.3/5.2)
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/libedit/makelist.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-line-utils/libedit/makelist.sh b/cmd-line-utils/libedit/makelist.sh
index 502604791f5..f15b3d1eb9f 100644
--- a/cmd-line-utils/libedit/makelist.sh
+++ b/cmd-line-utils/libedit/makelist.sh
@@ -87,7 +87,7 @@ case $FLAG in
cat $FILES | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
- printf("#include \"sys.h\"\n#include \"el.h\"\n");
+ printf("#include \"config.h\"\n#include \"el.h\"\n");
printf("private const struct el_bindings_t el_func_help[] = {\n");
low = "abcdefghijklmnopqrstuvwxyz_";
high = "ABCDEFGHIJKLMNOPQRSTUVWXYZ_";
@@ -170,7 +170,7 @@ case $FLAG in
cat $FILES | $AWK '/el_action_t/ { print $3 }' | sort | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
- printf("#include \"sys.h\"\n#include \"el.h\"\n");
+ printf("#include \"config.h\"\n#include \"el.h\"\n");
printf("private const el_func_t el_func[] = {");
maxlen = 80;
needn = 1;