openbsd-ports/textproc/exempi/patches/patch-source_common_EndianUtils_hpp

13 lines
429 B
Plaintext
Raw Normal View History

$OpenBSD: patch-source_common_EndianUtils_hpp,v 1.1 2010/04/09 08:59:56 ajacoutot Exp $
--- source/common/EndianUtils.hpp.orig Fri Apr 2 17:50:54 2010
+++ source/common/EndianUtils.hpp Fri Apr 2 17:51:24 2010
@@ -50,7 +50,7 @@
# define kBigEndianHost 1
# endif
# else
-# include <endian.h>
+# include <machine/endian.h>
# if BYTE_ORDER == BIG_ENDIAN
# define kBigEndianHost 1
# elif BYTE_ORDER == LITTLE_ENDIAN