summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/logs-show.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index c99fc75694..0e3fd3de26 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -23,6 +23,7 @@
#include <assert.h>
#include <errno.h>
#include <sys/poll.h>
+#include <sys/socket.h>
#include <string.h>
#include <fcntl.h>