summaryrefslogtreecommitdiff
path: root/misc/hxtools/files/patch-smm_vfalib.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'misc/hxtools/files/patch-smm_vfalib.hpp')
-rw-r--r--misc/hxtools/files/patch-smm_vfalib.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/hxtools/files/patch-smm_vfalib.hpp b/misc/hxtools/files/patch-smm_vfalib.hpp
new file mode 100644
index 000000000000..02f841ff2b78
--- /dev/null
+++ b/misc/hxtools/files/patch-smm_vfalib.hpp
@@ -0,0 +1,11 @@
+--- smm/vfalib.hpp.orig 2020-07-12 09:44:16 UTC
++++ smm/vfalib.hpp
+@@ -9,7 +9,7 @@
+ #include <vector>
+ #include <cstdint>
+ #include <cstdio>
+-#include <endian.h>
++#include <sys/endian.h>
+ #if (defined(__BYTE_ORDER) && __BYTE_ORDER == __BIG_ENDIAN) || \
+ (defined(_BYTE_ORDER) && _BYTE_ORDER == _BIG_ENDIAN)
+ /* We need to use constexpr functions, and htole16 unfortunately is not. */