]> andersk Git - openssh.git/blob - includes.h
- (tim) [includes.h openbsd-compat/getopt.c openbsd-compat/getopt.h]
[openssh.git] / includes.h
1 /*      $OpenBSD: includes.h,v 1.15 2001/06/08 15:25:40 markus Exp $    */
2
3 /*
4  * Author: Tatu Ylonen <ylo@cs.hut.fi>
5  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6  *                    All rights reserved
7  * This file includes most of the needed system headers.
8  *
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".
14  */
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
22 #include "config.h"
23
24 #include "openbsd-compat/bsd-nextstep.h"
25
26 #include <sys/types.h>
27 #include <sys/socket.h>
28 #include <sys/ioctl.h>
29 #include <sys/wait.h>
30 #include <sys/resource.h>
31
32 #include <netinet/tcp.h>
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_LIMITS_H
49 # include <limits.h>
50 #endif
51 #ifdef HAVE_GETOPT_H
52 # include <getopt.h>
53 #endif
54 #ifndef HAVE_GETOPT_OPTRESET
55 #define getopt(ac, av, o)  BSDgetopt(ac, av, o)
56 #endif
57 #ifdef HAVE_BSTRING_H
58 # include <bstring.h>
59 #endif
60 #if defined(HAVE_GLOB_H) && defined(GLOB_HAS_ALTDIRFUNC) && \
61     defined(GLOB_HAS_GL_MATCHC)
62 # include <glob.h>
63 #endif
64 #ifdef HAVE_NETGROUP_H
65 # include <netgroup.h>
66 #endif
67 #if defined(HAVE_NETDB_H)
68 # include <netdb.h>
69 #endif
70 #ifdef HAVE_ENDIAN_H
71 # include <endian.h>
72 #endif
73 #ifdef HAVE_SYS_SELECT_H
74 # include <sys/select.h>
75 #endif
76 #ifdef HAVE_SYS_TIME_H
77 # include <sys/time.h>
78 #endif
79 #ifdef HAVE_SYS_BSDTTY_H
80 # include <sys/bsdtty.h>
81 #endif
82 #ifdef HAVE_TTYENT_H
83 # include <ttyent.h>
84 #endif
85 #ifdef USE_PAM
86 # include <security/pam_appl.h>
87 #endif
88 #ifdef HAVE_POLL_H
89 # include <poll.h>
90 #else
91 # ifdef HAVE_SYS_POLL_H
92 #  include <sys/poll.h>
93 # endif
94 #endif
95 #ifdef HAVE_SYS_SYSMACROS_H
96 # include <sys/sysmacros.h>
97 #endif
98 #ifdef HAVE_UTIME_H
99 # include <utime.h>
100 #endif
101 #ifdef HAVE_VIS_H
102 # include <vis.h>
103 #endif
104 #include "version.h"
105 #include "openbsd-compat/openbsd-compat.h"
106 #include "openbsd-compat/bsd-cygwin_util.h"
107 #include "entropy.h"
108
109 #endif /* INCLUDES_H */
This page took 2.892989 seconds and 5 git commands to generate.