summaryrefslogtreecommitdiff
path: root/src/os.h
diff options
context:
space:
mode:
authorjnweiger <jnweiger>2005-12-16 18:26:01 +0000
committerjnweiger <jnweiger>2005-12-16 18:26:01 +0000
commit9131dd54d075ef5e6ec45e6787d083541736b1b2 (patch)
tree1e667b7237f513290804af8f1c477cb43dad62f3 /src/os.h
parent0e71ff2ef21998e8b999bf725b46b16e5995bf90 (diff)
downloadscreen-9131dd54d075ef5e6ec45e6787d083541736b1b2.tar.gz
old version screen-3.9.9 May 17 2001
Diffstat (limited to 'src/os.h')
-rw-r--r--src/os.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/os.h b/src/os.h
index 7651733..0dce145 100644
--- a/src/os.h
+++ b/src/os.h
@@ -25,11 +25,6 @@
#include <stdio.h>
#include <errno.h>
-#ifdef __hpux
-/* workaround for HPUX-11 which manages to include sys/user.h! */
-# define _SYS_USER_INCLUDED
-#endif
-
#include <sys/param.h>
/* In strict ANSI mode, HP-UX machines define __hpux but not hpux */
@@ -37,9 +32,9 @@
# define hpux
#endif
-#if defined(__bsdi__) || defined(__386BSD__) || defined(_CX_UX) || defined(hpux) || defined(_IBMR2)
+#if defined(__bsdi__) || defined(__386BSD__) || defined(_CX_UX) || defined(hpux) || defined(_IBMR2) || defined(linux)
# include <signal.h>
-#endif /* __bsdi__ || __386BSD__ || _CX_UX || hpux || _IBMR2 */
+#endif /* __bsdi__ || __386BSD__ || _CX_UX || hpux || _IBMR2 || linux */
#ifdef ISC
# ifdef ENAMETOOLONG
@@ -183,6 +178,7 @@ extern int errno;
#ifdef BUILTIN_TELNET
# include <netinet/in.h>
+# include <arpa/inet.h>
#endif
/*****************************************************************