]> andersk Git - openssh.git/blob - includes.h
- (djm) SUN_LEN macro for systems which lack it
[openssh.git] / includes.h
1 /*
2  *
3  * includes.h
4  *
5  * Author: Tatu Ylonen <ylo@cs.hut.fi>
6  *
7  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8  *                    All rights reserved
9  *
10  * Created: Thu Mar 23 16:29:37 1995 ylo
11  *
12  * This file includes most of the needed system headers.
13  *
14  */
15
16 #ifndef INCLUDES_H
17 #define INCLUDES_H
18
19 #define RCSID(msg) \
20 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
21
22 #include "config.h"
23
24 #include "next-posix.h"
25
26 #include <sys/types.h>
27 #include <sys/socket.h>
28 #include <sys/ioctl.h>
29 #include <sys/wait.h>
30 #include <sys/resource.h>
31
32 #include <netinet/tcp.h>
33 #include <arpa/inet.h>
34 #include <netdb.h>
35
36 #include <stdio.h>
37 #include <ctype.h>
38 #include <errno.h>
39 #include <fcntl.h>
40 #include <signal.h>
41 #include <termios.h>
42 #include <stdlib.h>
43 #include <string.h>
44 #include <stdarg.h>
45 #include <pwd.h>
46 #include <grp.h>
47 #include <time.h>
48 #include <dirent.h>
49
50 #ifdef HAVE_BSTRING_H
51 # include <bstring.h>
52 #endif 
53 #ifdef HAVE_NETGROUP_H
54 # include <netgroup.h>
55 #endif 
56 #if defined(HAVE_NETDB_H) && !defined(HAVE_NEXT)
57 /* Next includes this as part of another header */
58 # include <netdb.h>
59 #endif 
60 #ifdef HAVE_ENDIAN_H
61 # include <endian.h>
62 #endif
63 #ifdef HAVE_SYS_SELECT_H
64 # include <sys/select.h>
65 #endif
66 #ifdef HAVE_SYS_TIME_H
67 # include <sys/time.h>
68 #endif
69 #ifdef HAVE_SYS_BSDTTY_H
70 # include <sys/bsdtty.h>
71 #endif
72 #ifdef HAVE_TTYENT_H
73 # include <ttyent.h>
74 #endif
75 #ifdef USE_PAM
76 # include <security/pam_appl.h>
77 #endif
78 #ifdef HAVE_POLL_H
79 # include <poll.h>
80 #else
81 # ifdef HAVE_SYS_POLL_H
82 #  include <sys/poll.h>
83 # endif
84 #endif
85 #ifdef HAVE_SYS_SYSMACROS_H
86 # include <sys/sysmacros.h>
87 #endif
88
89 #include "version.h"
90
91 /* OpenBSD function replacements */
92 #include "openbsd-compat.h"
93
94 /* Entropy collection */
95 #include "entropy.h"
96
97 /* Define this to be the path of the xauth program. */
98 #ifndef XAUTH_PATH
99 #define XAUTH_PATH "/usr/X11R6/bin/xauth"
100 #endif /* XAUTH_PATH */
101
102 /* Define this to be the path of the rsh program. */
103 #ifndef _PATH_RSH
104 #define _PATH_RSH "/usr/bin/rsh"
105 #endif /* _PATH_RSH */
106
107 /*
108  * Define this to use pipes instead of socketpairs for communicating with the
109  * client program.  Socketpairs do not seem to work on all systems.
110  */
111 /* #define USE_PIPES 1 */
112
113 #endif                          /* INCLUDES_H */
This page took 0.06124 seconds and 5 git commands to generate.