]>
Commit | Line | Data |
---|---|---|
23c2a7a5 | 1 | /* $OpenBSD: includes.h,v 1.14 2001/01/29 01:58:16 niklas Exp $ */ |
2 | ||
8efc0c15 | 3 | /* |
5260325f | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
5260325f | 5 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
6 | * All rights reserved | |
5260325f | 7 | * This file includes most of the needed system headers. |
6ae2364d | 8 | * |
bcbf86ec | 9 | * As far as I am concerned, the code I have written for this software |
10 | * can be used freely for any purpose. Any derived versions of this | |
11 | * software must be clearly marked as such, and if the derived work is | |
12 | * incompatible with the protocol description in the RFC file, it must be | |
13 | * called by a name other than "ssh" or "Secure Shell". | |
5260325f | 14 | */ |
8efc0c15 | 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 | ||
793edc37 | 22 | #include "config.h" |
23 | ||
729bfe59 | 24 | #include "next-posix.h" |
25 | ||
8efc0c15 | 26 | #include <sys/types.h> |
27 | #include <sys/socket.h> | |
8efc0c15 | 28 | #include <sys/ioctl.h> |
8efc0c15 | 29 | #include <sys/wait.h> |
8efc0c15 | 30 | #include <sys/resource.h> |
31 | ||
3c62e7eb | 32 | #ifndef HAVE_CYGWIN |
8efc0c15 | 33 | #include <netinet/tcp.h> |
3c62e7eb | 34 | #endif |
8efc0c15 | 35 | #include <arpa/inet.h> |
8efc0c15 | 36 | |
8efc0c15 | 37 | #include <stdio.h> |
38 | #include <ctype.h> | |
39 | #include <errno.h> | |
40 | #include <fcntl.h> | |
8efc0c15 | 41 | #include <signal.h> |
8efc0c15 | 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 | |
0dd78cd8 | 59 | #if defined(HAVE_NETDB_H) |
d94aa2ae | 60 | # include <netdb.h> |
61 | #endif | |
4cca272e | 62 | #ifdef HAVE_ENDIAN_H |
63 | # include <endian.h> | |
64 | #endif | |
793edc37 | 65 | #ifdef HAVE_SYS_SELECT_H |
66 | # include <sys/select.h> | |
67 | #endif | |
b09a984b | 68 | #ifdef HAVE_SYS_TIME_H |
69 | # include <sys/time.h> | |
70 | #endif | |
a7effaac | 71 | #ifdef HAVE_SYS_BSDTTY_H |
72 | # include <sys/bsdtty.h> | |
73 | #endif | |
dbaa2e87 | 74 | #ifdef HAVE_TTYENT_H |
75 | # include <ttyent.h> | |
76 | #endif | |
d94aa2ae | 77 | #ifdef USE_PAM |
793edc37 | 78 | # include <security/pam_appl.h> |
beb43d31 | 79 | #endif |
a5c9cd31 | 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 | |
20af321f | 87 | #ifdef HAVE_SYS_SYSMACROS_H |
88 | # include <sys/sysmacros.h> | |
89 | #endif | |
89c7e31c | 90 | #ifdef HAVE_UTIME_H |
91 | # include <utime.h> | |
92 | #endif | |
94ec8c6b | 93 | #ifdef HAVE_VIS_H |
94 | # include <vis.h> | |
95 | #endif | |
4cca272e | 96 | #include "version.h" |
3dc1102e | 97 | #include "openbsd-compat.h" |
2f125ca1 | 98 | #include "cygwin_util.h" |
35484284 | 99 | #include "entropy.h" |
100 | ||
2f125ca1 | 101 | #endif /* INCLUDES_H */ |