Commit 7c7fa734 authored by Michael Smith's avatar Michael Smith

Fix a compile error.

svn path=/trunk/icecast/; revision=4115
parent 7b4730cb
...@@ -81,6 +81,9 @@ AC_C_CONST ...@@ -81,6 +81,9 @@ AC_C_CONST
dnl Check for types dnl Check for types
dnl Checks for library functions. dnl Checks for library functions.
AC_CHECK_FUNCS(nanosleep)
AC_CHECK_FUNCS(sethostent endhostent)
AC_CHECK_FUNCS(getnameinfo getaddrinfo inet_pton)
dnl -- configure options -- dnl -- configure options --
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
#ifndef __SOCK_H #ifndef __SOCK_H
#define __SOCK_H #define __SOCK_H
#include <unistd.h>
#ifdef _WIN32 #ifdef _WIN32
#include <winsock2.h> #include <winsock2.h>
#endif #endif
......
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