]> git.lizzy.rs Git - dragonfireclient.git/commitdiff
Fix build on FreeBSD, broken since open_url
authorrubenwardy <rw@rubenwardy.com>
Sun, 24 May 2020 14:31:06 +0000 (15:31 +0100)
committerrubenwardy <rw@rubenwardy.com>
Sun, 24 May 2020 14:31:06 +0000 (15:31 +0100)
src/porting.cpp

index 29af62f7d6347a18e37c9ad4e707bb8fb73ee23f..d902d3737048d2b49d8025351a9f24c85e34d1b8 100644 (file)
@@ -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>