aboutsummaryrefslogtreecommitdiff
path: root/editors/imhex/files/patch-plugins_libimhex_source_helpers_paths.cpp
blob: 82ceeee458c6cc9a7b8596fba8e873d0e5225f25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- plugins/libimhex/source/helpers/paths.cpp.orig	2021-12-16 17:57:41 UTC
+++ plugins/libimhex/source/helpers/paths.cpp
@@ -8,10 +8,15 @@
     #include <shlobj.h>
 #elif defined(OS_LINUX)
     #include <xdg.hpp>
+# if defined(__FreeBSD__)
+    #include <sys/syslimits.h>
+# else
     #include <linux/limits.h>
+# endif
 #endif
 
 #include <algorithm>
+#include <array>
 #include <filesystem>
 #include <string>
 #include <vector>