summaryrefslogtreecommitdiff
path: root/readline
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-02-03 18:00:29 +0200
committermonty@donna.mysql.com <>2001-02-03 18:00:29 +0200
commit728b63e0de8b992e29b00cc100e183e6f9011643 (patch)
treeb01406ccbcbde61bdde5e643977c7f0fa76dc098 /readline
parentcffc2849f945a8c2e5e775a270d6f35c572ed443 (diff)
downloadmariadb-git-728b63e0de8b992e29b00cc100e183e6f9011643.tar.gz
Workaround for bug in thread library in Unixware 7
Fixed bug in GROUP BY on ELT() Added SEQUENCE() to UDF examples
Diffstat (limited to 'readline')
-rw-r--r--readline/input.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/readline/input.c b/readline/input.c
index 00283504f57..e23af552494 100644
--- a/readline/input.c
+++ b/readline/input.c
@@ -41,9 +41,8 @@
# include "ansi_stdlib.h"
#endif /* HAVE_STDLIB_H */
-#include <time.h>
#if defined (HAVE_SELECT)
-# if !defined (HAVE_SYS_SELECT_H) || !defined (M_UNIX)
+# if !defined (HAVE_SYS_SELECT_H) || !defined (M_UNIX) || defined(TIME_WITH_SYS_TIME)
# include <sys/time.h>
# endif
#endif /* HAVE_SELECT */