aboutsummaryrefslogtreecommitdiffstats
path: root/audio/vst3sdk/files/patch-pluginterfaces_base_fplatform.h
blob: fe2ebed25d4d6f399d0b439c8c04bbef2bac7439 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- pluginterfaces/base/fplatform.h.orig	2024-07-26 07:55:50 UTC
+++ pluginterfaces/base/fplatform.h
@@ -123,7 +123,7 @@
 //-----------------------------------------------------------------------------
 // LINUX
 //-----------------------------------------------------------------------------
-#elif __gnu_linux__ || __linux__
+#elif __gnu_linux__ || __linux__ || defined(__FreeBSD__)
 	#define SMTG_OS_LINUX		1
 	#define SMTG_OS_MACOS		0
 	#define SMTG_OS_WINDOWS		0
@@ -145,7 +145,7 @@
 	#endif
 	#define SMTG_CPU_ARM_64EC 0
 
-	#include <endian.h>
+	#include <sys/endian.h>
 	#if __BYTE_ORDER == __LITTLE_ENDIAN
 		#define BYTEORDER kLittleEndian
 	#else