From: rubenwardy Date: Sun, 24 May 2020 14:31:06 +0000 (+0100) Subject: Fix build on FreeBSD, broken since open_url X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=212a1123e0fd930faf2467b09761815b849efcaf;p=oweals%2Fminetest.git Fix build on FreeBSD, broken since open_url --- 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 #include + extern char **environ; #elif defined(_WIN32) #include #include