gettimeofday: port recent C++ fix to Emacs
[gnulib.git] / tests / test-getpeername.c
index bd82e96..91a4b14 100644 (file)
@@ -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"