Mercurial > dropbear
comparison includes.h @ 1733:d529a52b2f7c coverity coverity
merge coverity from main
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 Jun 2020 21:07:34 +0800 |
parents | 57f85129670f |
children | 8dc43b30c6bf |
comparison
equal
deleted
inserted
replaced
1643:b59623a64678 | 1733:d529a52b2f7c |
---|---|
23 * SOFTWARE. */ | 23 * SOFTWARE. */ |
24 | 24 |
25 #ifndef DROPBEAR_INCLUDES_H_ | 25 #ifndef DROPBEAR_INCLUDES_H_ |
26 #define DROPBEAR_INCLUDES_H_ | 26 #define DROPBEAR_INCLUDES_H_ |
27 | 27 |
28 /* uclibc needs _GNU_SOURCE, maybe other things? */ | |
29 #define _GNU_SOURCE | |
28 | 30 |
29 #include "options.h" | 31 #include "options.h" |
30 #include "debug.h" | 32 #include "debug.h" |
31 | 33 |
32 #include <sys/types.h> | 34 #include <sys/types.h> |
122 | 124 |
123 #ifdef HAVE_SYS_UIO_H | 125 #ifdef HAVE_SYS_UIO_H |
124 #include <sys/uio.h> | 126 #include <sys/uio.h> |
125 #endif | 127 #endif |
126 | 128 |
129 #ifdef HAVE_SYS_RANDOM_H | |
130 #include <sys/random.h> | |
131 #endif | |
132 | |
127 #ifdef BUNDLED_LIBTOM | 133 #ifdef BUNDLED_LIBTOM |
128 #include "libtomcrypt/src/headers/tomcrypt.h" | 134 #include "libtomcrypt/src/headers/tomcrypt.h" |
129 #include "libtommath/tommath.h" | 135 #include "libtommath/tommath.h" |
130 #else | 136 #else |
131 #include <tomcrypt.h> | 137 #include <tomcrypt.h> |
162 #ifdef HAVE_LINUX_PKT_SCHED_H | 168 #ifdef HAVE_LINUX_PKT_SCHED_H |
163 #include <linux/types.h> | 169 #include <linux/types.h> |
164 #include <linux/pkt_sched.h> | 170 #include <linux/pkt_sched.h> |
165 #endif | 171 #endif |
166 | 172 |
173 #if DROPBEAR_PLUGIN | |
174 #include <dlfcn.h> | |
175 #endif | |
176 | |
167 #include "fake-rfc2553.h" | 177 #include "fake-rfc2553.h" |
168 | 178 |
169 #include "fuzz.h" | 179 #include "fuzz.h" |
170 | 180 |
171 #ifndef LOG_AUTHPRIV | 181 #ifndef LOG_AUTHPRIV |