summaryrefslogtreecommitdiffstats
path: root/src/common/admin_socket.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/admin_socket.cc')
-rw-r--r--src/common/admin_socket.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/admin_socket.cc b/src/common/admin_socket.cc
index 1e73ce0836a..55b87de3207 100644
--- a/src/common/admin_socket.cc
+++ b/src/common/admin_socket.cc
@@ -12,7 +12,13 @@
*
*/
#include <poll.h>
+#include <signal.h>
#include <sys/un.h>
+
+#ifndef WIN32
+#include <sys/wait.h>
+#endif
+
#include <optional>
#include <stdlib.h>