diff options
author | rubenwardy <rw@rubenwardy.com> | 2020-05-24 15:31:06 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2020-05-24 15:31:06 +0100 |
commit | 212a1123e0fd930faf2467b09761815b849efcaf (patch) | |
tree | 2419b02faff65aff6ee8d81d5821973ce13134f8 /src | |
parent | b3c79906d4b63a2a1a296b6aad6657e86619b300 (diff) | |
download | minetest-212a1123e0fd930faf2467b09761815b849efcaf.tar.gz minetest-212a1123e0fd930faf2467b09761815b849efcaf.tar.bz2 minetest-212a1123e0fd930faf2467b09761815b849efcaf.zip |
Fix build on FreeBSD, broken since open_url
Diffstat (limited to 'src')
-rw-r--r-- | src/porting.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/porting.cpp b/src/porting.cpp index 29af62f7d..d902d3737 100644 --- a/src/porting.cpp +++ b/src/porting.cpp @@ -28,6 +28,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) #include <sys/types.h> #include <sys/sysctl.h> + extern char **environ; #elif defined(_WIN32) #include <windows.h> #include <wincrypt.h> |