[xiph-cvs] cvs commit: net sock.c

Brendan brendan at xiph.org
Mon Jan 20 22:45:44 PST 2003



brendan     03/01/21 01:45:43

  Modified:    .        configure.in
               .        sock.c
  Log:
  We weren't actually using poll at all, we were just including the header.
  For portability, remove the header and the check in configure.in

Revision  Changes    Path
1.11      +0 -5      libshout/configure.in

Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- configure.in	17 Jan 2003 09:01:04 -0000	1.10
+++ configure.in	21 Jan 2003 06:45:43 -0000	1.11
@@ -59,11 +59,6 @@
 
 dnl Checks for programs.
 
-dnl Checks for libraries.
-AC_SEARCH_LIBS(poll, poll, ,
-  AC_MSG_ERROR([This system appears to lack the poll function])
-)
-
 dnl Checks for header files.
 AC_HEADER_STDC
 

<p><p>1.12      +0 -1      net/sock.c

Index: sock.c
===================================================================
RCS file: /usr/local/cvsroot/net/sock.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- sock.c	19 Jan 2003 02:46:06 -0000	1.11
+++ sock.c	21 Jan 2003 06:45:43 -0000	1.12
@@ -36,7 +36,6 @@
 #include <arpa/inet.h>
 #include <sys/time.h>
 #include <netdb.h>
-#include <sys/poll.h>
 #else
 #include <winsock2.h>
 #define vsnprintf _vsnprintf

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list