Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2005 11:55:20 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 76324 for review
Message-ID:  <200505011155.j41BtKc7042428@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=76324

Change 76324 by rwatson@rwatson_paprika on 2005/05/01 11:55:10

	If running on __APPLE__, use compat/endian.h instead of
	sys/endian.h, which isn't present.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#8 edit
.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#12 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_io.c#8 (text+ko) ====

@@ -29,7 +29,11 @@
  */
 
 #include <sys/types.h>
+#ifdef __APPLE__
+#include <compat/endian.h>
+#else /* !__APPLE__ */
 #include <sys/endian.h>
+#endif /* __APPLE__*/
 #include <sys/stat.h>
 #include <sys/socket.h>
 

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_token.c#12 (text+ko) ====

@@ -29,7 +29,11 @@
  */
 
 #include <sys/types.h>
+#ifdef __APPLE__
+#include <compat/endian.h>
+#else /* !__APPLE__ */
 #include <sys/endian.h>
+#endif /* __APPLE__*/
 #include <sys/socket.h>
 #include <sys/time.h>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505011155.j41BtKc7042428>