From 7ea7cabd967429886c26e78b3ec573d54a95fa9d Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 13 Sep 2010 00:02:44 +0200 Subject: [PATCH] posix: include unistd.h for close The close prototype is defined in unistd.h, according to POSIX. Include it. --- sync/base.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sync/base.h b/sync/base.h index f74b2d7..bc46b00 100644 --- a/sync/base.h +++ b/sync/base.h @@ -25,6 +25,7 @@ #include #include #include + #include #define SOCKET int #define INVALID_SOCKET -1 #define closesocket(x) close(x)