projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3c7990
)
Fix build on FreeBSD, broken since open_url
author
rubenwardy
<rw@rubenwardy.com>
Sun, 24 May 2020 14:31:06 +0000
(15:31 +0100)
committer
rubenwardy
<rw@rubenwardy.com>
Sun, 24 May 2020 14:31:06 +0000
(15:31 +0100)
src/porting.cpp
patch
|
blob
|
history
diff --git
a/src/porting.cpp
b/src/porting.cpp
index 29af62f7d6347a18e37c9ad4e707bb8fb73ee23f..d902d3737048d2b49d8025351a9f24c85e34d1b8 100644
(file)
--- 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>