]> andersk Git - openssh.git/blob - includes.h
- (djm) Merged big SCO portability patch from Tim Rice
[openssh.git] / includes.h
1 /*
2  * Author: Tatu Ylonen <ylo@cs.hut.fi>
3  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
4  *                    All rights reserved
5  * This file includes most of the needed system headers.
6  *
7  * As far as I am concerned, the code I have written for this software
8  * can be used freely for any purpose.  Any derived versions of this
9  * software must be clearly marked as such, and if the derived work is
10  * incompatible with the protocol description in the RFC file, it must be
11  * called by a name other than "ssh" or "Secure Shell".
12  */
13
14 #ifndef INCLUDES_H
15 #define INCLUDES_H
16
17 #define RCSID(msg) \
18 static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg }
19
20 #include "config.h"
21
22 #include "next-posix.h"
23
24 #include <sys/types.h>
25 #include <sys/socket.h>
26 #include <sys/ioctl.h>
27 #include <sys/wait.h>
28 #include <sys/resource.h>
29
30 #ifndef HAVE_CYGWIN
31 #include <netinet/tcp.h>
32 #endif
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 <stdlib.h>
42 #include <string.h>
43 #include <stdarg.h>
44 #include <pwd.h>
45 #include <grp.h>
46 #include <time.h>
47 #include <dirent.h>
48
49 #ifdef HAVE_GETOPT_H
50 #include <getopt.h>
51 #endif
52 #ifdef HAVE_BSTRING_H
53 # include <bstring.h>
54 #endif 
55 #ifdef HAVE_NETGROUP_H
56 # include <netgroup.h>
57 #endif 
58 #if defined(HAVE_NETDB_H) && !defined(HAVE_NEXT)
59 /* Next includes this as part of another header */
60 # include <netdb.h>
61 #endif 
62 #ifdef HAVE_ENDIAN_H
63 # include <endian.h>
64 #endif
65 #ifdef HAVE_SYS_SELECT_H
66 # include <sys/select.h>
67 #endif
68 #ifdef HAVE_SYS_TIME_H
69 # include <sys/time.h>
70 #endif
71 #ifdef HAVE_SYS_BSDTTY_H
72 # include <sys/bsdtty.h>
73 #endif
74 #ifdef HAVE_TTYENT_H
75 # include <ttyent.h>
76 #endif
77 #ifdef USE_PAM
78 # include <security/pam_appl.h>
79 #endif
80 #ifdef HAVE_POLL_H
81 # include <poll.h>
82 #else
83 # ifdef HAVE_SYS_POLL_H
84 #  include <sys/poll.h>
85 # endif
86 #endif
87 #ifdef HAVE_SYS_SYSMACROS_H
88 # include <sys/sysmacros.h>
89 #endif
90
91 #include "version.h"
92 #include "openbsd-compat.h"
93 #include "cygwin_util.h"
94 #include "entropy.h"
95
96 #endif /* INCLUDES_H */
This page took 0.635454 seconds and 5 git commands to generate.