diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-14 21:36:45 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-14 21:36:45 +0800 |
commit | 071895f0bd68ef4856320943851aa103a224b8e0 (patch) | |
tree | 7b6f78984a6205655880f39e693a34b07cb02399 /includes.h | |
parent | 4c9e6614be992ced4b6a519560bd67621003ec0c (diff) | |
download | dropbear-071895f0bd68ef4856320943851aa103a224b8e0.tar.gz |
- Some fixes for old compilers like tru64 v4 from Daniel Richard G.
- Don't warn about blocking random device for prngd
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -134,15 +134,30 @@ #include "compat.h" -#include "fake-rfc2553.h" -#ifndef HAVE_UINT16_T +#ifndef HAVE_U_INT8_T +typedef unsigned char u_int8_t; +#endif /* HAVE_U_INT8_T */ +#ifndef HAVE_UINT8_T +typedef u_int8_t uint8_t; +#endif /* HAVE_UINT8_T */ + #ifndef HAVE_U_INT16_T typedef unsigned short u_int16_t; #endif /* HAVE_U_INT16_T */ +#ifndef HAVE_UINT16_T typedef u_int16_t uint16_t; #endif /* HAVE_UINT16_T */ +#ifndef HAVE_U_INT32_T +typedef unsigned int u_int32_t; +#endif /* HAVE_U_INT32_T */ +#ifndef HAVE_UINT32_T +typedef u_int32_t uint32_t; +#endif /* HAVE_UINT32_T */ + +#include "fake-rfc2553.h" + #ifndef LOG_AUTHPRIV #define LOG_AUTHPRIV LOG_AUTH #endif |