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