PERFORCE change 76324 for review
Robert Watson
rwatson at FreeBSD.org
Sun May 1 04:55:21 PDT 2005
http://perforce.freebsd.org/chv.cgi?CH=76324
Change 76324 by rwatson at 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>
More information about the p4-projects
mailing list