summaryrefslogtreecommitdiff
path: root/multimedia/naludump/files/patch-libsi-headers.h
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/naludump/files/patch-libsi-headers.h')
-rw-r--r--multimedia/naludump/files/patch-libsi-headers.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/naludump/files/patch-libsi-headers.h b/multimedia/naludump/files/patch-libsi-headers.h
new file mode 100644
index 000000000000..4e2f0101870b
--- /dev/null
+++ b/multimedia/naludump/files/patch-libsi-headers.h
@@ -0,0 +1,14 @@
+--- a/libsi/headers.h
++++ b/libsi/headers.h
+@@ -17,7 +17,11 @@
+ #ifndef LIBSI_HEADERS_H
+ #define LIBSI_HEADERS_H
+
++#ifdef __FreeBSD__
++#include <sys/endian.h>
++#else
+ #include <endian.h>
++#endif
+
+ namespace SI {
+