5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
10 * Created: Thu Mar 23 16:29:37 1995 ylo
12 * This file includes most of the needed system headers.
20 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
24 #include "next-posix.h"
26 #include <sys/types.h>
27 #include <sys/socket.h>
28 #include <sys/ioctl.h>
30 #include <sys/resource.h>
33 #include <netinet/tcp.h>
35 #include <arpa/inet.h>
58 #ifdef HAVE_NETGROUP_H
59 # include <netgroup.h>
61 #if defined(HAVE_NETDB_H) && !defined(HAVE_NEXT)
62 /* Next includes this as part of another header */
68 #ifdef HAVE_SYS_SELECT_H
69 # include <sys/select.h>
71 #ifdef HAVE_SYS_TIME_H
72 # include <sys/time.h>
74 #ifdef HAVE_SYS_BSDTTY_H
75 # include <sys/bsdtty.h>
81 # include <security/pam_appl.h>
86 # ifdef HAVE_SYS_POLL_H
87 # include <sys/poll.h>
90 #ifdef HAVE_SYS_SYSMACROS_H
91 # include <sys/sysmacros.h>
96 /* OpenBSD function replacements */
97 #include "openbsd-compat.h"
99 /* Entropy collection */
102 /* Define this to be the path of the xauth program. */
104 #define XAUTH_PATH "/usr/X11R6/bin/xauth"
105 #endif /* XAUTH_PATH */
107 /* Define this to be the path of the rsh program. */
109 #define _PATH_RSH "/usr/bin/rsh"
110 #endif /* _PATH_RSH */
113 * Define this to use pipes instead of socketpairs for communicating with the
114 * client program. Socketpairs do not seem to work on all systems.
116 /* #define USE_PIPES 1 */
119 #define open binary_open
120 #define pipe binary_pipe
121 extern int binary_open();
122 extern int binary_pipe();
125 #endif /* INCLUDES_H */