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/in.h>
34 #include <netinet/in_systm.h>
35 #include <netinet/tcp.h>
36 #include <netinet/ip.h>
37 #include <arpa/inet.h>
58 #ifdef HAVE_NETGROUP_H
59 # include <netgroup.h>
70 #ifdef HAVE_SYS_SELECT_H
71 # include <sys/select.h>
73 #ifdef HAVE_SYS_TIME_H
74 # include <sys/time.h>
76 #ifdef HAVE_SYS_BSDTTY_H
77 # include <sys/bsdtty.h>
80 # include <security/pam_appl.h>
85 # ifdef HAVE_SYS_POLL_H
86 # include <sys/poll.h>
89 #ifdef HAVE_SYS_SYSMACROS_H
90 # include <sys/sysmacros.h>
95 /* BSD function replacements */
96 #include "bsd-bindresvport.h"
97 #include "bsd-rresvport.h"
99 #include "bsd-strlcpy.h"
100 #include "bsd-strlcat.h"
101 #include "bsd-mktemp.h"
102 #include "bsd-snprintf.h"
103 #include "bsd-daemon.h"
104 #include "bsd-login.h"
106 /* rfc2553 socket API replacements */
107 #include "fake-getaddrinfo.h"
108 #include "fake-getnameinfo.h"
109 #include "fake-socket.h"
111 /* Define this to be the path of the xauth program. */
113 #define XAUTH_PATH "/usr/X11R6/bin/xauth"
114 #endif /* XAUTH_PATH */
116 /* Define this to be the path of the rsh program. */
118 #define _PATH_RSH "/usr/bin/rsh"
119 #endif /* _PATH_RSH */
122 * Define this to use pipes instead of socketpairs for communicating with the
123 * client program. Socketpairs do not seem to work on all systems.
125 /* #define USE_PIPES 1 */
127 #endif /* INCLUDES_H */