aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/tic-80/files/patch-vendor_naett_naett.c
blob: 47b37ffe4b40ad231e0dc0819e69e8db25ad85c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- vendor/naett/naett.c.orig	2023-09-08 19:55:43 UTC
+++ vendor/naett/naett.c
@@ -22,7 +22,7 @@
 #define __WINDOWS__ 1
 #endif
 
-#if __linux__ && !__ANDROID__
+#if __linux__ && !__ANDROID__ || __FreeBSD__
 #define __LINUX__ 1
 #include <curl/curl.h>
 #endif
@@ -782,7 +782,7 @@ void naettPlatformCloseResponse(InternalResponse* res)
 // Inlined naett_linux.c: //
 //#include "naett_internal.h"
 
-#if __linux__ && !__ANDROID__
+#if __linux__ && !__ANDROID__ || __FreeBSD__
 
 #include <curl/curl.h>
 #include <assert.h>