summaryrefslogtreecommitdiff
path: root/cmd-line-utils/libedit/search.c
diff options
context:
space:
mode:
authorkent@mysql.com <>2005-05-12 19:02:26 +0200
committerkent@mysql.com <>2005-05-12 19:02:26 +0200
commit7209906093edf9209896b383dfc74d0946cc8cec (patch)
tree3d52da980ec9c1fa3c113dba7ce0c4f2b54e1f3b /cmd-line-utils/libedit/search.c
parentf6593cb7d418b72ed60c77c32aa9062b2b2ee0f1 (diff)
downloadmariadb-git-7209906093edf9209896b383dfc74d0946cc8cec.tar.gz
readline.c:
Include readline/readline.h earlier, to avoid redifinition of term.h macros on AIX 5.2 search.c: FreeBSD needs <sys/types.h> to get 'off_t' defined
Diffstat (limited to 'cmd-line-utils/libedit/search.c')
-rw-r--r--cmd-line-utils/libedit/search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-line-utils/libedit/search.c b/cmd-line-utils/libedit/search.c
index 848429e091b..850c5f27140 100644
--- a/cmd-line-utils/libedit/search.c
+++ b/cmd-line-utils/libedit/search.c
@@ -37,6 +37,7 @@
/*
* search.c: History and character search functions
*/
+#include <sys/types.h>
#include <stdlib.h>
#if defined(REGEX)
#include <regex.h>