]>
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> |
8efc0c15 | 34 | |
8efc0c15 | 35 | #include <stdio.h> |
36 | #include <ctype.h> | |
37 | #include <errno.h> | |
38 | #include <fcntl.h> | |
8efc0c15 | 39 | #include <signal.h> |
8efc0c15 | 40 | #include <stdlib.h> |
41 | #include <string.h> | |
42 | #include <stdarg.h> | |
43 | #include <pwd.h> | |
44 | #include <grp.h> | |
8efc0c15 | 45 | #include <time.h> |
8efc0c15 | 46 | #include <dirent.h> |
2f125ca1 | 47 | |
48 | #ifdef HAVE_GETOPT_H | |
3c62e7eb | 49 | #include <getopt.h> |
50 | #endif | |
d94aa2ae | 51 | #ifdef HAVE_BSTRING_H |
52 | # include <bstring.h> | |
53 | #endif | |
c75a1a66 | 54 | #ifdef HAVE_NETGROUP_H |
55 | # include <netgroup.h> | |
56 | #endif | |
0dd78cd8 | 57 | #if defined(HAVE_NETDB_H) |
d94aa2ae | 58 | # include <netdb.h> |
59 | #endif | |
4cca272e | 60 | #ifdef HAVE_ENDIAN_H |
61 | # include <endian.h> | |
62 | #endif | |
793edc37 | 63 | #ifdef HAVE_SYS_SELECT_H |
64 | # include <sys/select.h> | |
65 | #endif | |
b09a984b | 66 | #ifdef HAVE_SYS_TIME_H |
67 | # include <sys/time.h> | |
68 | #endif | |
a7effaac | 69 | #ifdef HAVE_SYS_BSDTTY_H |
70 | # include <sys/bsdtty.h> | |
71 | #endif | |
dbaa2e87 | 72 | #ifdef HAVE_TTYENT_H |
73 | # include <ttyent.h> | |
74 | #endif | |
d94aa2ae | 75 | #ifdef USE_PAM |
793edc37 | 76 | # include <security/pam_appl.h> |
beb43d31 | 77 | #endif |
a5c9cd31 | 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 | |
20af321f | 85 | #ifdef HAVE_SYS_SYSMACROS_H |
86 | # include <sys/sysmacros.h> | |
87 | #endif | |
89c7e31c | 88 | #ifdef HAVE_UTIME_H |
89 | # include <utime.h> | |
90 | #endif | |
94ec8c6b | 91 | #ifdef HAVE_VIS_H |
92 | # include <vis.h> | |
93 | #endif | |
4cca272e | 94 | #include "version.h" |
3dc1102e | 95 | #include "openbsd-compat.h" |
2f125ca1 | 96 | #include "cygwin_util.h" |
35484284 | 97 | #include "entropy.h" |
98 | ||
2f125ca1 | 99 | #endif /* INCLUDES_H */ |