summaryrefslogtreecommitdiff
path: root/tests/test-getpeername.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-getpeername.c')
-rw-r--r--tests/test-getpeername.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-getpeername.c b/tests/test-getpeername.c
index bd82e96587..fa858fa765 100644
--- a/tests/test-getpeername.c
+++ b/tests/test-getpeername.c
@@ -23,6 +23,7 @@ SIGNATURE_CHECK (getpeername, int, (int, struct sockaddr *, socklen_t *));
#include <errno.h>
#include <netinet/in.h>
+#include <unistd.h.>
#include "sockets.h"
#include "macros.h"