Mercurial > dropbear
comparison includes.h @ 299:740e782679be ucc-axis-hack
Various changes to compile+kind of run on UCC's axis board.
Note that fprintf(stdin -> printf( accounts for many of the changes
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 25 Mar 2006 12:57:09 +0000 |
parents | a3a68c25035e |
children |
comparison
equal
deleted
inserted
replaced
266:e37b160c414c | 299:740e782679be |
---|---|
48 #include <signal.h> | 48 #include <signal.h> |
49 #include <stdlib.h> | 49 #include <stdlib.h> |
50 #include <string.h> | 50 #include <string.h> |
51 #include <termios.h> | 51 #include <termios.h> |
52 #include <unistd.h> | 52 #include <unistd.h> |
53 // from unistd.h | |
54 #define MAXNAMLEN 1024 | |
53 #include <syslog.h> | 55 #include <syslog.h> |
54 #include <netdb.h> | 56 #include <netdb.h> |
55 #include <ctype.h> | 57 #include <ctype.h> |
56 #include <stdarg.h> | 58 #include <stdarg.h> |
57 #include <dirent.h> | 59 #include <dirent.h> |
58 | 60 |
59 #ifdef HAVE_UTMP_H | |
60 #include <utmp.h> | 61 #include <utmp.h> |
61 #endif | |
62 | 62 |
63 #ifdef HAVE_UTMPX_H | 63 #ifdef HAVE_UTMPX_H |
64 #include <utmpx.h> | 64 #include <utmpx.h> |
65 #endif | 65 #endif |
66 | 66 |
84 #include <netinet/in_systm.h> | 84 #include <netinet/in_systm.h> |
85 #endif | 85 #endif |
86 | 86 |
87 #include <netinet/ip.h> | 87 #include <netinet/ip.h> |
88 | 88 |
89 #ifdef HAVE_NETINET_TCP_H | |
90 #include <netinet/tcp.h> | 89 #include <netinet/tcp.h> |
91 #endif | |
92 | 90 |
93 #ifdef HAVE_INTTYPES_H | 91 #ifdef HAVE_INTTYPES_H |
94 #include <inttypes.h> | 92 #include <inttypes.h> |
95 #endif | 93 #endif |
96 | 94 |
113 #ifdef HAVE_SHADOW_H | 111 #ifdef HAVE_SHADOW_H |
114 #include <shadow.h> | 112 #include <shadow.h> |
115 #endif | 113 #endif |
116 | 114 |
117 #ifdef HAVE_LIBGEN_H | 115 #ifdef HAVE_LIBGEN_H |
118 #include <libgen.h> | 116 //#include <libgen.h> |
119 #endif | 117 #endif |
120 | 118 |
121 #include "libtomcrypt/src/headers/tomcrypt.h" | 119 #include "libtomcrypt/src/headers/tomcrypt.h" |
122 #include "libtommath/tommath.h" | 120 #include "libtommath/tommath.h" |
123 | 121 |
126 | 124 |
127 #ifndef HAVE_UINT16_T | 125 #ifndef HAVE_UINT16_T |
128 #ifndef HAVE_U_INT16_T | 126 #ifndef HAVE_U_INT16_T |
129 typedef unsigned short u_int16_t; | 127 typedef unsigned short u_int16_t; |
130 #endif /* HAVE_U_INT16_T */ | 128 #endif /* HAVE_U_INT16_T */ |
131 typedef u_int16_t uint16_t; | 129 // typedef u_int16_t uint16_t; |
132 #endif /* HAVE_UINT16_T */ | 130 #endif /* HAVE_UINT16_T */ |
133 | 131 |
134 #ifndef LOG_AUTHPRIV | 132 #ifndef LOG_AUTHPRIV |
135 #define LOG_AUTHPRIV LOG_AUTH | 133 #define LOG_AUTHPRIV LOG_AUTH |
136 #endif | 134 #endif |