changeset 2565:9a1e59a60b56

[project @ 1996-12-06 00:10:57 by jwe]
author jwe
date Fri, 06 Dec 1996 00:10:57 +0000
parents ac70da7eeedc
children bcdd6bf533ea
files readline/ChangeLog readline/parens.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/readline/ChangeLog
+++ b/readline/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec  5 18:10:28 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* parens.c: Try harder to find FD_XXX macros on Linux systems.
+
 Wed Nov 13 00:05:44 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* configure.in: If this looks like an SCO system, define USG.
--- a/readline/parens.c
+++ b/readline/parens.c
@@ -64,7 +64,8 @@
 #if defined (HAVE_SYS_SELECT_H)
 #include <sys/select.h>
 #endif
-#if defined (FD_SET)
+/* Including sys/time.h on Linux (any others?) defines the FD_XXX macros. */
+#if defined (FD_SET) || defined (__linux__)
 #  include <sys/time.h>
 #endif /* FD_SET */
 #include "readline.h"