From 51969ec84cbd5fe8a283915cb6c73cab0b846008 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Thu, 22 May 1997 05:13:53 +0000 Subject: Make sdr build under 3.0 --- mbone/sdr/files/patch-ac | 67 +++++++++++++++++++++++++++++------------------- 1 file changed, 40 insertions(+), 27 deletions(-) (limited to 'mbone/sdr') diff --git a/mbone/sdr/files/patch-ac b/mbone/sdr/files/patch-ac index d7a08664be82..3d7ce87d7271 100644 --- a/mbone/sdr/files/patch-ac +++ b/mbone/sdr/files/patch-ac @@ -1,27 +1,40 @@ -Index: src/sdr.h -=================================================================== -RCS file: /tilde/fenner/conf/sdr/cvs/sdr/src/sdr.h,v -retrieving revision 1.7 -diff -c -r1.7 sdr.h -*** 1.7 1996/11/12 17:33:22 ---- sdr.h 1996/11/12 17:39:10 -*************** -*** 147,156 **** ---- 147,163 ---- - }; - - 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; +--- 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; -- cgit v1.2.3