comparison includes.h @ 4:fe6bca95afa7

Makefile.in contains updated files required
author Matt Johnston <matt@ucc.asn.au>
date Tue, 01 Jun 2004 02:46:09 +0000
parents
children 86725004a0ea
comparison
equal deleted inserted replaced
-1:000000000000 4:fe6bca95afa7
1 /*
2 * Dropbear - a SSH2 server
3 *
4 * Copyright (c) 2002,2003 Matt Johnston
5 * All rights reserved.
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining a copy
8 * of this software and associated documentation files (the "Software"), to deal
9 * in the Software without restriction, including without limitation the rights
10 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11 * copies of the Software, and to permit persons to whom the Software is
12 * furnished to do so, subject to the following conditions:
13 *
14 * The above copyright notice and this permission notice shall be included in
15 * all copies or substantial portions of the Software.
16 *
17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23 * SOFTWARE. */
24
25 #ifndef _INCLUDES_H_
26 #define _INCLUDES_H_
27
28
29 #include "config.h"
30 #include "options.h"
31 #include "debug.h"
32
33 #include <sys/types.h>
34 #include <sys/ioctl.h>
35 #include <sys/param.h> /* required for BSD4_4 define */
36 #include <sys/socket.h>
37 #include <sys/stat.h>
38 #include <sys/time.h>
39 #include <sys/un.h>
40 #include <sys/wait.h>
41 #include <sys/dir.h>
42
43 #include <stdio.h>
44 #include <errno.h>
45 #include <fcntl.h>
46 #include <grp.h>
47 #include <limits.h>
48 #include <netinet/in.h>
49 #include <pwd.h>
50 #include <signal.h>
51 #include <stdlib.h>
52 #include <string.h>
53 #include <termios.h>
54 #include <unistd.h>
55 #include <syslog.h>
56 #include <netdb.h>
57 #include <ctype.h>
58 #include <stdarg.h>
59
60 #include <arpa/inet.h>
61
62 #ifdef HAVE_UTMP_H
63 #include <utmp.h>
64 #endif
65
66 #ifdef HAVE_UTMPX_H
67 #include <utmpx.h>
68 #endif
69
70 #ifdef HAVE_PATHS_H
71 #include <paths.h>
72 #endif
73
74 #ifdef HAVE_LASTLOG_H
75 #include <lastlog.h>
76 #endif
77
78 #ifdef HAVE_NETINET_IN_H
79 #include <netinet/in.h>
80 #endif
81
82 #ifdef HAVE_NETINET_TCP_H
83 #include <netinet/tcp.h>
84 #endif
85
86 #ifdef HAVE_INTTYPES_H
87 #include <inttypes.h>
88 #endif
89
90 #ifdef HAVE_LIBUTIL_H
91 #include <libutil.h>
92 #endif
93
94 #ifdef HAVE_CRYPT_H
95 #include <crypt.h>
96 #endif
97
98 #ifndef DISABLE_ZLIB
99 #include <zlib.h>
100 #endif
101
102 #ifdef HAVE_UTIL_H
103 #include <util.h>
104 #endif
105
106 #ifdef HAVE_SHADOW_H
107 #include <shadow.h>
108 #endif
109
110 #ifdef HAVE_LIBGEN_H
111 #include <libgen.h>
112 #endif
113
114 #ifdef HAVE_SYS_DIRENT_H
115 #include <sys/dirent.h>
116 #endif
117
118 #include "libtomcrypt/mycrypt_custom.h"
119 #include "libtommath/tommath.h"
120
121 #include "compat.h"
122
123 #ifndef HAVE_UINT16_T
124 #ifndef HAVE_U_INT16_T
125 typedef unsigned short u_int16_t;
126 #endif /* HAVE_U_INT16_T */
127 typedef u_int16_t uint16_t;
128 #endif /* HAVE_UINT16_T */
129
130 #ifndef LOG_AUTHPRIV
131 #define LOG_AUTHPRIV LOG_AUTH
132 #endif
133
134 #endif /* _INCLUDES_H_ */