--- src/sdr.h.orig Wed May 21 22:06:02 1997 +++ src/sdr.h Wed May 21 22:10:05 1997 @@ -8,9 +8,6 @@ #include #else #include -#include -#include -#include #include #include #include @@ -18,6 +15,9 @@ #include #include #include +#include +#include +#include #include #include #ifdef AIX41 @@ -146,10 +146,17 @@ }; struct sap_header { +#if BYTE_ORDER == BIG_ENDIAN u_int version:3; u_int type:3; u_int enc:1; u_int compress:1; +#else + u_int compress:1; + u_int enc:1; + u_int type:3; + u_int version:3; +#endif u_int authlen:8; u_int msgid:16; u_int src;