summaryrefslogtreecommitdiffstats
path: root/cpukit/shttpd
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/shttpd')
-rw-r--r--cpukit/shttpd/compat_rtems.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/shttpd/compat_rtems.h b/cpukit/shttpd/compat_rtems.h
index 820e863de5..c27b10bbd5 100644
--- a/cpukit/shttpd/compat_rtems.h
+++ b/cpukit/shttpd/compat_rtems.h
@@ -22,6 +22,7 @@
#define DIRSEP '/'
#define IS_DIRSEP_CHAR(c) ((c) == '/')
#define O_BINARY 0
+#define closesocket(a) close(a)
#define ERRNO errno
/* RTEMS version is Thread Safe */