r11094 - in libprelude/trunk: . src

[email protected]
Newsgroups gmane.comp.security.ids.prelude.cvs
Message-ID <[email protected]>
Author: yoann
Date: 2008-11-14 17:21:49 +0100 (Fri, 14 Nov 2008)
New Revision: 11094

Modified:
   libprelude/trunk/configure.in
   libprelude/trunk/src/prelude-io.c
Log:
Remove check for ioctl.h, this is already handled by GnuLib.


Modified: libprelude/trunk/configure.in
===================================================================
--- libprelude/trunk/configure.in	2008-11-14 16:21:43 UTC (rev 11093)
+++ libprelude/trunk/configure.in	2008-11-14 16:21:49 UTC (rev 11094)
@@ -638,7 +638,7 @@
 
 dnl Needed for FIONREAD under solaris
 
-AC_CHECK_HEADERS_ONCE(sys/filio.h sys/ioctl.h sys/un.h netinet/tcp.h)
+AC_CHECK_HEADERS_ONCE(sys/filio.h sys/un.h netinet/tcp.h)
 AC_CHECK_FUNCS(ftruncate chsize)
 AX_CREATE_PRELUDE_INTTYPES_H(src/include/prelude-inttypes.h)
 

Modified: libprelude/trunk/src/prelude-io.c
===================================================================
--- libprelude/trunk/src/prelude-io.c	2008-11-14 16:21:43 UTC (rev 11093)
+++ libprelude/trunk/src/prelude-io.c	2008-11-14 16:21:49 UTC (rev 11094)
@@ -31,14 +31,11 @@
 #include <errno.h>
 #include <netinet/in.h>
 #include <poll.h>
+#include <sys/ioctl.h>
 #include <gnutls/gnutls.h>
 
 #include "prelude-inttypes.h"
 
-#ifdef HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h>
-#endif
-
 #ifdef HAVE_SYS_FILIO_H
 # include <sys/filio.h>
 #endif

_______________________________________________
Prelude-cvslog site list
[email protected]
http://lists.prelude-ids.org/mailman/listinfo/prelude-cvslog
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.