commit 63c065a12738b0fc2531516a21dc56f8a367db28
Author: Oswald Buddenhagen <[email protected]>
Date: Tue Jan 31 15:15:00 2006 +0000
backport: compile fixes
configure.in | 1 +
src/drv_imap.c | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/configure.in b/configure.in
index 037005d..4ce6282 100644
--- a/configure.in
+++ b/configure.in
@@ -9,6 +9,7 @@ if test "$GCC" = yes; then
CFLAGS="$CFLAGS -pipe -W -Wall -Wshadow -Wstrict-prototypes"
fi
+AC_CHECK_HEADERS([sys/filio.h])
AC_CHECK_FUNCS(vasprintf)
AC_CHECK_LIB(socket, socket, [SOCK_LIBS="-lsocket"])
diff --git a/src/drv_imap.c b/src/drv_imap.c
index fcdc1f1..f930764 100644
--- a/src/drv_imap.c
+++ b/src/drv_imap.c
@@ -31,11 +31,15 @@
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
+#include <limits.h>
#include <errno.h>
#include <string.h>
#include <ctype.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
+#ifdef HAVE_SYS_FILIO_H
+# include <sys/filio.h>
+#endif
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel