ports/misc/hxtools/files/patch-smm_vfalib.hpp
Alexey Dokuchaev f423ead6e5 This is the collection of tools and scripts for different tasks written
by Jan Engelhardt, each of which seems to be too small to warrant their
own project.

WWW: http://inai.de/projects/hxtools/
2020-08-03 06:13:13 +00:00

11 lines
389 B
C++

--- 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. */