$OpenBSD: patch-boost_predef_other_endian_h,v 1.4 2021/02/01 12:00:51 rsadowski Exp $

Switch to using the endian.h header on OpenBSD.

Index: boost/predef/other/endian.h
--- boost/predef/other/endian.h.orig
+++ boost/predef/other/endian.h
@@ -54,19 +54,14 @@ information and acquired knowledge:
  */
 #if !BOOST_ENDIAN_BIG_BYTE && !BOOST_ENDIAN_BIG_WORD && \
     !BOOST_ENDIAN_LITTLE_BYTE && !BOOST_ENDIAN_LITTLE_WORD
-#   if BOOST_LIB_C_GNU || BOOST_OS_ANDROID
+#   if BOOST_LIB_C_GNU || BOOST_OS_ANDROID || BOOST_OS_BSD_OPEN
 #       include <endian.h>
 #   else
 #       if BOOST_OS_MACOS
 #           include <machine/endian.h>
-#       else
-#           if BOOST_OS_BSD
-#               if BOOST_OS_BSD_OPEN
-#                   include <machine/endian.h>
-#               else
-#                   include <sys/endian.h>
-#               endif
-#           endif
+#       endif
+#       if BOOST_OS_BSD
+#           include <sys/endian.h>
 #       endif
 #   endif
 #   if defined(__BYTE_ORDER)
