--- openconnect-internal.h.orig 2023-05-19 16:12:15 UTC +++ openconnect-internal.h @@ -85,6 +85,7 @@ #define N_(s) s #include +#include #include #ifdef _WIN32 @@ -133,6 +134,11 @@ extern char **environ; extern char **environ; #endif #include +#endif + + +#ifdef __FreeBSD__ +extern char **environ; #endif /* Equivalent of "/dev/null" on Windows.