Date: Sun, 1 May 2005 12:26:59 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 76326 for review Message-ID: <200505011226.j41CQx0M043426@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=76326 Change 76326 by rwatson@rwatson_paprika on 2005/05/01 12:26:00 Include stdint.h, as some systems won't have picked up the int defines as a result of the earlier include of types.h by the code including endian.h. Remove gratuitous warning from earlier debuggin. Affected files ... .. //depot/projects/trustedbsd/openbsm/compat/endian.h#3 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/compat/endian.h#3 (text+ko) ==== @@ -36,6 +36,12 @@ #include <machine/endian.h> /* + * Some systems will have the uint/int types defined here already, others + * will need stdint.h. + */ +#include <stdint.h> + +/* * Some operating systems do not yet have the more recent endian APIs that * permit encoding to and decoding from byte streams. For those systems, we * implement local non-optimized versions. @@ -98,7 +104,6 @@ } #if defined(BYTE_ORDER) && !defined(_BYTE_ORDER) -#warning "Converting BYTE_ORDER to _BYTE_ORDER" #define _BYTE_ORDER BYTE_ORDER #endif #if !defined(_BYTE_ORDER)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505011226.j41CQx0M043426>