openbsd-ports/textproc/exempi/patches/patch-source_common_EndianUtils_hpp
ajacoutot b2fa28d38f Update to exempi-2.1.1.
Dependencies are still happy with it.

"I do not expect any breakage from this" Andreas Bihlmaier (maintainer)
2010-04-09 08:59:56 +00:00

13 lines
429 B
Plaintext

$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