]>
Commit | Line | Data |
---|---|---|
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 | ||
35 | #include <stdio.h> | |
36 | #include <ctype.h> | |
37 | #include <errno.h> | |
38 | #include <fcntl.h> | |
39 | #include <signal.h> | |
40 | #include <stdlib.h> | |
41 | #include <string.h> | |
42 | #include <stdarg.h> | |
43 | #include <pwd.h> | |
44 | #include <grp.h> | |
45 | #include <time.h> | |
46 | #include <dirent.h> | |
47 | ||
48 | #ifdef HAVE_GETOPT_H | |
49 | #include <getopt.h> | |
50 | #endif | |
51 | #ifdef HAVE_BSTRING_H | |
52 | # include <bstring.h> | |
53 | #endif | |
54 | #ifdef HAVE_NETGROUP_H | |
55 | # include <netgroup.h> | |
56 | #endif | |
57 | #if defined(HAVE_NETDB_H) | |
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 | #ifdef HAVE_UTIME_H | |
89 | # include <utime.h> | |
90 | #endif | |
91 | #ifdef HAVE_VIS_H | |
92 | # include <vis.h> | |
93 | #endif | |
94 | #include "version.h" | |
95 | #include "openbsd-compat.h" | |
96 | #include "cygwin_util.h" | |
97 | #include "entropy.h" | |
98 | ||
99 | #endif /* INCLUDES_H */ |