summaryrefslogtreecommitdiff
path: root/tests/test-shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-shutdown.c')
-rw-r--r--tests/test-shutdown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-shutdown.c b/tests/test-shutdown.c
index ae20706b21..781577d84d 100644
--- a/tests/test-shutdown.c
+++ b/tests/test-shutdown.c
@@ -22,6 +22,7 @@
SIGNATURE_CHECK (shutdown, int, (int, int));
#include <errno.h>
+#include <unistd.h>
#include "sockets.h"
#include "macros.h"