summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorunknown <bar@mysql.com>2005-10-11 16:56:42 +0500
committerunknown <bar@mysql.com>2005-10-11 16:56:42 +0500
commitb83fb7fac08d7a394257710637545318f0289b0b (patch)
tree1980c5166e9bc5f5e200ba3d3f1a2989f83c0118 /cmd-line-utils
parent3054625091ab9628260381ad13b073f3c046d29c (diff)
downloadmariadb-git-b83fb7fac08d7a394257710637545318f0289b0b.tar.gz
complete.c:
Fixed compilation problem on FreeBSD, after discussion with Jani. Doesn't FreeBSD follow the standard? cmd-line-utils/readline/complete.c: Fixed
Diffstat (limited to 'cmd-line-utils')
-rw-r--r--cmd-line-utils/readline/complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-line-utils/readline/complete.c b/cmd-line-utils/readline/complete.c
index 41ea22d815e..df0a698b81f 100644
--- a/cmd-line-utils/readline/complete.c
+++ b/cmd-line-utils/readline/complete.c
@@ -21,7 +21,7 @@
59 Temple Place, Suite 330, Boston, MA 02111 USA. */
#define READLINE_LIBRARY
-#ifndef _XOPEN_SOURCE
+#if !defined(_XOPEN_SOURCE) && !defined(__FreeBSD__)
#define _XOPEN_SOURCE 500
#endif