summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/unixsupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/unixsupport.h')
-rw-r--r--otherlibs/unix/unixsupport.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/otherlibs/unix/unixsupport.h b/otherlibs/unix/unixsupport.h
index 51e425d2d..c8b7e1e03 100644
--- a/otherlibs/unix/unixsupport.h
+++ b/otherlibs/unix/unixsupport.h
@@ -11,9 +11,13 @@
/* $Id$ */
+#ifdef HAS_UNISTD
+#include <unistd.h>
+#endif
+
#define Nothing ((value) 0)
-extern void unix_error P((int errcode, char * cmdname, value arg));
-extern void uerror P((char * cmdname, value arg));
+extern void unix_error P((int errcode, char * cmdname, value arg)) Noreturn;
+extern void uerror P((char * cmdname, value arg)) Noreturn;
#define UNIX_BUFFER_SIZE 16384