aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2014-04-11 07:42:56 +0300
committerArnold D. Robbins <arnold@skeeve.com>2014-04-11 07:42:56 +0300
commita4b59faf911743b30f2e6e979c4f9c1ea0669ac3 (patch)
tree791ab0367daf278db6ac32ca25a52a8b4e7da18e /io.c
parent46b7e9eaf81d136b72f53daecc98305f6af68108 (diff)
parent976f73ab03569bb836aa5c949be1c1cc973b2d2e (diff)
downloadegawk-a4b59faf911743b30f2e6e979c4f9c1ea0669ac3.tar.gz
egawk-a4b59faf911743b30f2e6e979c4f9c1ea0669ac3.tar.bz2
egawk-a4b59faf911743b30f2e6e979c4f9c1ea0669ac3.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/io.c b/io.c
index b0b60deb..2a5c2e73 100644
--- a/io.c
+++ b/io.c
@@ -166,6 +166,12 @@
# define SOCKET int
#endif
+#else /* HAVE_SOCKETS */
+
+#ifndef closemaybesocket
+# define closemaybesocket(fd) close(fd)
+#endif
+
#endif /* HAVE_SOCKETS */
#ifndef HAVE_SETSID