aboutsummaryrefslogtreecommitdiff
path: root/devel/msitools/files/patch-libmsi_string.c
blob: aec298e7d2803eef1fefb0c395d871c944732ff2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- libmsi/string.c.orig	2020-01-07 19:29:38 UTC
+++ libmsi/string.c
@@ -22,7 +22,11 @@
 
 #include <stdarg.h>
 #include <assert.h>
-#include <endian.h>
+#ifdef __FreeBSD__
+#  include <sys/endian.h>
+#else
+#  include <endian.h>
+#endif
 #include <gsf/gsf-msole-utils.h>
 
 #include "debug.h"