comparison includes.h @ 118:5312ca05ed48 private-rez

propagate of 717950f4061f1123659ee87c7c168805af920ab7 and 839f98f136788cc1466e4641bf796f96040a085d from branch 'matt.dbclient.authpam' to 'matt.dbclient.rez'
author Matt Johnston <matt@ucc.asn.au>
date Sun, 12 Sep 2004 04:56:50 +0000
parents 10f4d3319780
children 9a1dc9bc17d7
comparison
equal deleted inserted replaced
57:3b2a5a1c4347 118:5312ca05ed48
36 #include <sys/socket.h> 36 #include <sys/socket.h>
37 #include <sys/stat.h> 37 #include <sys/stat.h>
38 #include <sys/time.h> 38 #include <sys/time.h>
39 #include <sys/un.h> 39 #include <sys/un.h>
40 #include <sys/wait.h> 40 #include <sys/wait.h>
41 #include <sys/dir.h>
42 41
43 #include <stdio.h> 42 #include <stdio.h>
44 #include <errno.h> 43 #include <errno.h>
45 #include <fcntl.h> 44 #include <fcntl.h>
46 #include <grp.h> 45 #include <grp.h>
54 #include <unistd.h> 53 #include <unistd.h>
55 #include <syslog.h> 54 #include <syslog.h>
56 #include <netdb.h> 55 #include <netdb.h>
57 #include <ctype.h> 56 #include <ctype.h>
58 #include <stdarg.h> 57 #include <stdarg.h>
58 #include <dirent.h>
59 59
60 #include <arpa/inet.h> 60 #include <arpa/inet.h>
61 61
62 #ifdef HAVE_UTMP_H 62 #ifdef HAVE_UTMP_H
63 #include <utmp.h> 63 #include <utmp.h>
109 109
110 #ifdef HAVE_LIBGEN_H 110 #ifdef HAVE_LIBGEN_H
111 #include <libgen.h> 111 #include <libgen.h>
112 #endif 112 #endif
113 113
114 #ifdef HAVE_SYS_DIRENT_H
115 #include <sys/dirent.h>
116 #endif
117
118 #include "libtomcrypt/mycrypt_custom.h" 114 #include "libtomcrypt/mycrypt_custom.h"
119 #include "libtommath/tommath.h" 115 #include "libtommath/tommath.h"
120 116
121 #include "compat.h" 117 #include "compat.h"
118 #include "fake-rfc2553.h"
122 119
123 #ifndef HAVE_UINT16_T 120 #ifndef HAVE_UINT16_T
124 #ifndef HAVE_U_INT16_T 121 #ifndef HAVE_U_INT16_T
125 typedef unsigned short u_int16_t; 122 typedef unsigned short u_int16_t;
126 #endif /* HAVE_U_INT16_T */ 123 #endif /* HAVE_U_INT16_T */
129 126
130 #ifndef LOG_AUTHPRIV 127 #ifndef LOG_AUTHPRIV
131 #define LOG_AUTHPRIV LOG_AUTH 128 #define LOG_AUTHPRIV LOG_AUTH
132 #endif 129 #endif
133 130
131 /* so we can avoid warnings about unused params (ie in signal handlers etc) */
132 #ifdef UNUSED
133 #elif defined(__GNUC__)
134 # define UNUSED(x) UNUSED_ ## x __attribute__((unused))
135 #elif defined(__LCLINT__)
136 # define UNUSED(x) /*@unused@*/ x
137 #else
138 # define UNUSED(x) x
139 #endif
140
134 #endif /* _INCLUDES_H_ */ 141 #endif /* _INCLUDES_H_ */