]> andersk Git - openssh.git/blob - includes.h
- (djm) Merged cleanup patch from Mark Miller <markm@swoon.net>
[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 <termios.h>
42 #include <stdlib.h>
43 #include <string.h>
44 #include <stdarg.h>
45 #include <pwd.h>
46 #include <grp.h>
47 #include <time.h>
48 #include <dirent.h>
49
50 #ifdef HAVE_GETOPT_H
51 #include <getopt.h>
52 #endif
53 #ifdef HAVE_BSTRING_H
54 # include <bstring.h>
55 #endif 
56 #ifdef HAVE_NETGROUP_H
57 # include <netgroup.h>
58 #endif 
59 #if defined(HAVE_NETDB_H) && !defined(HAVE_NEXT)
60 /* Next includes this as part of another header */
61 # include <netdb.h>
62 #endif 
63 #ifdef HAVE_ENDIAN_H
64 # include <endian.h>
65 #endif
66 #ifdef HAVE_SYS_SELECT_H
67 # include <sys/select.h>
68 #endif
69 #ifdef HAVE_SYS_TIME_H
70 # include <sys/time.h>
71 #endif
72 #ifdef HAVE_SYS_BSDTTY_H
73 # include <sys/bsdtty.h>
74 #endif
75 #ifdef HAVE_TTYENT_H
76 # include <ttyent.h>
77 #endif
78 #ifdef USE_PAM
79 # include <security/pam_appl.h>
80 #endif
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
88 #ifdef HAVE_SYS_SYSMACROS_H
89 # include <sys/sysmacros.h>
90 #endif
91
92 #include "version.h"
93 #include "openbsd-compat.h"
94 #include "cygwin_util.h"
95 #include "entropy.h"
96
97 #endif /* INCLUDES_H */
This page took 0.258715 seconds and 5 git commands to generate.