output/httpd: include sys/socket.h only when building with libwrap

Fixes build failure on WIN32.
This commit is contained in:
Max Kellermann 2011-03-18 19:44:12 +01:00
parent 0fdcd381bc
commit 8d83914f05

View File

@ -34,9 +34,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <sys/socket.h> /* needed for AF_UNIX */
#ifdef HAVE_LIBWRAP
#include <sys/socket.h> /* needed for AF_UNIX */
#include <tcpd.h>
#endif