[dovecot-cvs] dovecot/src/lib ioloop-select.c,1.5,1.6

cras at procontrol.fi cras at procontrol.fi
Tue Dec 10 10:13:42 EET 2002


Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv13280/src/lib

Modified Files:
	ioloop-select.c 
Log Message:
select() is nowadays defined to be in sys/select.h



Index: ioloop-select.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/ioloop-select.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- ioloop-select.c	26 Nov 2002 21:26:50 -0000	1.5
+++ ioloop-select.c	10 Dec 2002 08:13:40 -0000	1.6
@@ -28,7 +28,10 @@
 
 #ifdef IOLOOP_SELECT
 
-#include <sys/types.h>
+#ifdef HAVE_SYS_SELECT_H
+#  include <sys/select.h> /* According to POSIX 1003.1-2001 */
+#endif
+#include <sys/time.h>
 #include <unistd.h>
 
 struct _IOLoopHandlerData {




More information about the dovecot-cvs mailing list