comparison includes.h @ 855:04ede40a529a

- Some fixes for old compilers like tru64 v4 from Daniel Richard G. - Don't warn about blocking random device for prngd
author Matt Johnston <matt@ucc.asn.au>
date Thu, 14 Nov 2013 21:36:45 +0800
parents f27058078d61
children 80af450dae76
comparison
equal deleted inserted replaced
854:ccc76acaf4c7 855:04ede40a529a
132 #include <tommath.h> 132 #include <tommath.h>
133 #endif 133 #endif
134 134
135 135
136 #include "compat.h" 136 #include "compat.h"
137 #include "fake-rfc2553.h"
138 137
139 #ifndef HAVE_UINT16_T 138 #ifndef HAVE_U_INT8_T
139 typedef unsigned char u_int8_t;
140 #endif /* HAVE_U_INT8_T */
141 #ifndef HAVE_UINT8_T
142 typedef u_int8_t uint8_t;
143 #endif /* HAVE_UINT8_T */
144
140 #ifndef HAVE_U_INT16_T 145 #ifndef HAVE_U_INT16_T
141 typedef unsigned short u_int16_t; 146 typedef unsigned short u_int16_t;
142 #endif /* HAVE_U_INT16_T */ 147 #endif /* HAVE_U_INT16_T */
148 #ifndef HAVE_UINT16_T
143 typedef u_int16_t uint16_t; 149 typedef u_int16_t uint16_t;
144 #endif /* HAVE_UINT16_T */ 150 #endif /* HAVE_UINT16_T */
151
152 #ifndef HAVE_U_INT32_T
153 typedef unsigned int u_int32_t;
154 #endif /* HAVE_U_INT32_T */
155 #ifndef HAVE_UINT32_T
156 typedef u_int32_t uint32_t;
157 #endif /* HAVE_UINT32_T */
158
159 #include "fake-rfc2553.h"
145 160
146 #ifndef LOG_AUTHPRIV 161 #ifndef LOG_AUTHPRIV
147 #define LOG_AUTHPRIV LOG_AUTH 162 #define LOG_AUTHPRIV LOG_AUTH
148 #endif 163 #endif
149 164