mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix a compile error.
svn path=/trunk/icecast/; revision=4115
This commit is contained in:
parent
7b4730cbfd
commit
7c7fa73422
@ -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 @@
|
|||||||
#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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user