summaryrefslogtreecommitdiffstats
path: root/cpukit/shttpd
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-06-11 14:05:21 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-06-11 14:05:21 +0000
commit5e262885b6e1534d4d7d28a7c28764c46e9eba34 (patch)
tree06f808a7a2d30a55f4a7ca92fd9ae7dfda352267 /cpukit/shttpd
parentNew. (diff)
downloadrtems-5e262885b6e1534d4d7d28a7c28764c46e9eba34.tar.bz2
2007-06-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* shttpd/compat_rtems.h: Define closesocket.
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 */