[xiph-cvs] cvs commit: timing timing.c
Brendan
brendan at xiph.org
Thu Jun 5 12:02:36 PDT 2003
brendan 03/06/05 15:02:36
Modified: . configure.in
. sock.c
. timing.c
Log:
Karl's sys/select.h patch for fbsd. It must be under another std include on
OS X for some reason.
Revision Changes Path
1.43 +2 -2 libshout/configure.in
Index: configure.in
===================================================================
RCS file: /usr/local/cvsroot/libshout/configure.in,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -p -u -r1.42 -r1.43
--- configure.in 5 Jun 2003 17:09:12 -0000 1.42
+++ configure.in 5 Jun 2003 19:02:36 -0000 1.43
@@ -1,5 +1,5 @@
# Process this file with autoconf to produce a configure script.
-# $Id: configure.in,v 1.42 2003/06/05 17:09:12 brendan Exp $
+# $Id: configure.in,v 1.43 2003/06/05 19:02:36 brendan Exp $
m4_define(libshout_major, 2)
m4_define(libshout_minor, 0)
@@ -68,7 +68,7 @@ dnl Checks for programs.
dnl Checks for header files.
AC_HEADER_STDC
-AC_CHECK_HEADERS([inttypes.h strings.h sys/socket.h sys/uio.h])
+AC_CHECK_HEADERS([inttypes.h strings.h sys/select.h sys/socket.h sys/uio.h])
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
<p><p>1.25 +3 -0 net/sock.c
Index: sock.c
===================================================================
RCS file: /usr/local/cvsroot/net/sock.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -p -u -r1.24 -r1.25
--- sock.c 5 Jun 2003 17:09:12 -0000 1.24
+++ sock.c 5 Jun 2003 19:02:36 -0000 1.25
@@ -32,6 +32,9 @@
#include <string.h>
#include <fcntl.h>
#include <errno.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/select.h>
+#endif
#ifndef _WIN32
#include <unistd.h>
<p><p>1.9 +4 -0 timing/timing.c
Index: timing.c
===================================================================
RCS file: /usr/local/cvsroot/timing/timing.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -p -u -r1.8 -r1.9
--- timing.c 15 Mar 2003 02:10:19 -0000 1.8
+++ timing.c 5 Jun 2003 19:02:36 -0000 1.9
@@ -20,6 +20,10 @@
#include <unistd.h>
#endif
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
#include "timing.h"
/*
<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