Commit 4ead7816 authored by brendan's avatar brendan
Browse files

Karl's sys/select.h patch for fbsd. It must be under another std include on

OS X for some reason.

svn path=/trunk/libshout/; revision=4886
parent 4433ddae
# 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
......
......@@ -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>
......
......@@ -20,6 +20,10 @@
#include <unistd.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
#include "timing.h"
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment