]>
Commit | Line | Data |
---|---|---|
8efc0c15 | 1 | /* |
5260325f | 2 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
5260325f | 3 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
4 | * All rights reserved | |
5260325f | 5 | * This file includes most of the needed system headers. |
6ae2364d | 6 | * |
bcbf86ec | 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". | |
5260325f | 12 | */ |
8efc0c15 | 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 | ||
793edc37 | 20 | #include "config.h" |
21 | ||
729bfe59 | 22 | #include "next-posix.h" |
23 | ||
8efc0c15 | 24 | #include <sys/types.h> |
25 | #include <sys/socket.h> | |
8efc0c15 | 26 | #include <sys/ioctl.h> |
8efc0c15 | 27 | #include <sys/wait.h> |
8efc0c15 | 28 | #include <sys/resource.h> |
29 | ||
3c62e7eb | 30 | #ifndef HAVE_CYGWIN |
8efc0c15 | 31 | #include <netinet/tcp.h> |
3c62e7eb | 32 | #endif |
8efc0c15 | 33 | #include <arpa/inet.h> |
34 | #include <netdb.h> | |
35 | ||
8efc0c15 | 36 | #include <stdio.h> |
37 | #include <ctype.h> | |
38 | #include <errno.h> | |
39 | #include <fcntl.h> | |
8efc0c15 | 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> | |
8efc0c15 | 47 | #include <time.h> |
8efc0c15 | 48 | #include <dirent.h> |
2f125ca1 | 49 | |
50 | #ifdef HAVE_GETOPT_H | |
3c62e7eb | 51 | #include <getopt.h> |
52 | #endif | |
d94aa2ae | 53 | #ifdef HAVE_BSTRING_H |
54 | # include <bstring.h> | |
55 | #endif | |
c75a1a66 | 56 | #ifdef HAVE_NETGROUP_H |
57 | # include <netgroup.h> | |
58 | #endif | |
aae19451 | 59 | #if defined(HAVE_NETDB_H) && !defined(HAVE_NEXT) |
60 | /* Next includes this as part of another header */ | |
d94aa2ae | 61 | # include <netdb.h> |
62 | #endif | |
4cca272e | 63 | #ifdef HAVE_ENDIAN_H |
64 | # include <endian.h> | |
65 | #endif | |
793edc37 | 66 | #ifdef HAVE_SYS_SELECT_H |
67 | # include <sys/select.h> | |
68 | #endif | |
b09a984b | 69 | #ifdef HAVE_SYS_TIME_H |
70 | # include <sys/time.h> | |
71 | #endif | |
a7effaac | 72 | #ifdef HAVE_SYS_BSDTTY_H |
73 | # include <sys/bsdtty.h> | |
74 | #endif | |
dbaa2e87 | 75 | #ifdef HAVE_TTYENT_H |
76 | # include <ttyent.h> | |
77 | #endif | |
d94aa2ae | 78 | #ifdef USE_PAM |
793edc37 | 79 | # include <security/pam_appl.h> |
beb43d31 | 80 | #endif |
a5c9cd31 | 81 | #ifdef HAVE_POLL_H |
82 | # include <poll.h> | |
83 | #else | |
84 | # ifdef HAVE_SYS_POLL_H | |
85 | # include <sys/poll.h> | |
86 | # endif | |
87 | #endif | |
20af321f | 88 | #ifdef HAVE_SYS_SYSMACROS_H |
89 | # include <sys/sysmacros.h> | |
90 | #endif | |
4cca272e | 91 | |
92 | #include "version.h" | |
3dc1102e | 93 | #include "openbsd-compat.h" |
2f125ca1 | 94 | #include "cygwin_util.h" |
35484284 | 95 | #include "entropy.h" |
96 | ||
2f125ca1 | 97 | #endif /* INCLUDES_H */ |