Commit 8d83914f authored by Max Kellermann's avatar Max Kellermann

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

Fixes build failure on WIN32.
parent 0fdcd381
......@@ -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
......
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