output/httpd: include sys/socket.h only when building with libwrap
Fixes build failure on WIN32.
This commit is contained in:
parent
0fdcd381bc
commit
8d83914f05
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user