add fallback definitions of u_int32_t and u_int16_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9980 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		| @@ -353,10 +353,19 @@ void pidfile (const char*); | ||||
| #endif | ||||
|  | ||||
| #ifndef HAVE_BSWAP32 | ||||
|  | ||||
| #ifndef HAVE_U_INT32_T | ||||
| typedef unsigned int u_int32_t; | ||||
| #endif | ||||
|  | ||||
| u_int32_t bswap32(u_int32_t); | ||||
| #endif | ||||
|  | ||||
| #ifndef HAVE_BSWAP16 | ||||
| #ifndef HAVE_U_INT16_T | ||||
| typedef unsigned short u_int16_t; | ||||
| #endif | ||||
|  | ||||
| u_int16_t bswap16(u_int16_t); | ||||
| #endif | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Assar Westerlund
					Assar Westerlund