From 21749c6fd6342fea33980885ccdbe7f227fb4a07 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Thu, 17 May 2001 01:28:49 +0000 Subject: [PATCH] make it kludge-compatilbe with bwap git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9983 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h.in | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index f8dae0df1..56776295b 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -353,21 +353,20 @@ void pidfile (const char*); #endif #ifndef HAVE_BSWAP32 - #ifndef HAVE_U_INT32_T -typedef unsigned int u_int32_t; -#endif - +unsigned int bswap32(unsigned int); +#else u_int32_t bswap32(u_int32_t); #endif +#endif #ifndef HAVE_BSWAP16 #ifndef HAVE_U_INT16_T -typedef unsigned short u_int16_t; -#endif - +unsigned short bswap16(unsigned short); +#else u_int16_t bswap16(u_int16_t); #endif +#endif #ifndef HAVE_FLOCK #ifndef LOCK_SH