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 <sys/types.h>
25 #include <sys/socket.h>
26 #include <sys/param.h>
27 #include <sys/ioctl.h>
31 #include <sys/resource.h>
33 #include <netinet/tcp.h>
34 #include <arpa/inet.h>
55 #ifdef HAVE_NETGROUP_H
56 # include <netgroup.h>
67 #ifdef HAVE_SYS_SELECT_H
68 # include <sys/select.h>
70 #ifdef HAVE_SYS_TIME_H
71 # include <sys/time.h>
73 #ifdef HAVE_SYS_BSDTTY_H
74 # include <sys/bsdtty.h>
77 # include <security/pam_appl.h>
82 # ifdef HAVE_SYS_POLL_H
83 # include <sys/poll.h>
86 #ifdef HAVE_SYS_SYSMACROS_H
87 # include <sys/sysmacros.h>
92 /* BSD function replacements */
93 #include "bsd-bindresvport.h"
94 #include "bsd-rresvport.h"
96 #include "bsd-strlcpy.h"
97 #include "bsd-strlcat.h"
98 #include "bsd-mktemp.h"
99 #include "bsd-snprintf.h"
100 #include "bsd-daemon.h"
101 #include "bsd-login.h"
102 #include "bsd-base64.h"
104 /* rfc2553 socket API replacements */
105 #include "fake-getaddrinfo.h"
106 #include "fake-getnameinfo.h"
107 #include "fake-socket.h"
109 /* Entropy collection */
112 /* Define this to be the path of the xauth program. */
114 #define XAUTH_PATH "/usr/X11R6/bin/xauth"
115 #endif /* XAUTH_PATH */
117 /* Define this to be the path of the rsh program. */
119 #define _PATH_RSH "/usr/bin/rsh"
120 #endif /* _PATH_RSH */
123 * Define this to use pipes instead of socketpairs for communicating with the
124 * client program. Socketpairs do not seem to work on all systems.
126 /* #define USE_PIPES 1 */
128 #endif /* INCLUDES_H */