aboutsummaryrefslogtreecommitdiffstats
path: root/sock.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-08-14 14:44:35 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-08-14 14:44:35 +0100
commit07874bef9e9c4e6ace44e4d0605ce1aec89cad74 (patch)
treec2a0a0bc30f2fcec7af83b2fb3fe59bbec393116 /sock.h
parent584867592546f43f857645e02169d135f0df25e8 (diff)
parent136c2bb632715ab83710c93c7b339c5cca7d2679 (diff)
Merge mainline stuff.
Diffstat (limited to 'sock.h')
-rw-r--r--sock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sock.h b/sock.h
index 848dc466..66e28987 100644
--- a/sock.h
+++ b/sock.h
@@ -12,6 +12,8 @@
#define sockerr_again() (errno == EINPROGRESS || errno == EINTR)
#ifndef EVENTS_LIBEVENT
#define closesocket(a) close(a)
+#else
+void closesocket( int fd );
#endif
#else
# include <winsock2.h>