summaryrefslogtreecommitdiff
path: root/cmd-line-utils
diff options
context:
space:
mode:
authorbar@mysql.com <>2005-10-11 16:56:42 +0500
committerbar@mysql.com <>2005-10-11 16:56:42 +0500
commitd99146ce2cfc202788b519050b4e5628e01e99fe (patch)
tree1980c5166e9bc5f5e200ba3d3f1a2989f83c0118 /cmd-line-utils
parentbef189cc4ec6f040d3feeb4cf485bff4aeb0a640 (diff)
downloadmariadb-git-d99146ce2cfc202788b519050b4e5628e01e99fe.tar.gz
complete.c:
Fixed compilation problem on FreeBSD, after discussion with Jani. Doesn't FreeBSD follow the standard?
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