summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/output/httpd_output_plugin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/output/httpd_output_plugin.c b/src/output/httpd_output_plugin.c
index 27103c3f8..fe9a44256 100644
--- a/src/output/httpd_output_plugin.c
+++ b/src/output/httpd_output_plugin.c
@@ -34,6 +34,7 @@
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
+#include <sys/socket.h> /* needed for AF_UNIX */
#ifdef HAVE_LIBWRAP
#include <tcpd.h>