summaryrefslogtreecommitdiff
path: root/security/openconnect/files/patch-openconnect-internal.h
blob: f1eb860cbf6c1b865e74d67c96938a93c297be48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- openconnect-internal.h.orig	2023-05-19 16:12:15 UTC
+++ openconnect-internal.h
@@ -85,6 +85,7 @@
 #define N_(s) s
 
 #include <libxml/tree.h>
+#include <libxml/parser.h>
 #include <zlib.h>
 
 #ifdef _WIN32
@@ -133,6 +134,11 @@ extern char **environ;
 extern char **environ;
 #endif
 #include <spawn.h>
+#endif
+
+
+#ifdef __FreeBSD__
+extern char **environ;
 #endif
 
 /* Equivalent of "/dev/null" on Windows.