Mercurial > dropbear
diff 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 |
line wrap: on
line diff
--- a/includes.h Thu Nov 14 20:45:46 2013 +0800 +++ b/includes.h Thu Nov 14 21:36:45 2013 +0800 @@ -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