aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2011-08-09 17:42:18 +0300
committerArnold D. Robbins <arnold@skeeve.com>2011-08-09 17:42:18 +0300
commit657395eeea809730a56bb65bcfc62028deb06f73 (patch)
tree87b9415b0780941862bc5fee3c2deb440c15399d /awk.h
parent0b28764069fb268dd716251c71d310c0a321c600 (diff)
downloadegawk-657395eeea809730a56bb65bcfc62028deb06f73.tar.gz
egawk-657395eeea809730a56bb65bcfc62028deb06f73.tar.bz2
egawk-657395eeea809730a56bb65bcfc62028deb06f73.zip
Fix for ptys for coprocesses.
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/awk.h b/awk.h
index 1421203a..f3d36654 100644
--- a/awk.h
+++ b/awk.h
@@ -171,6 +171,10 @@ typedef int off_t;
#define setlocale(locale, val) /* nothing */
#endif /* HAVE_SETLOCALE */
+#ifndef HAVE_SETSID
+#define setsid() /* nothing */
+#endif /* HAVE_SETSID */
+
#if HAVE_MEMCPY_ULONG
extern char *memcpy_ulong(char *dest, const char *src, unsigned long l);
#define memcpy memcpy_ulong