forked from Mirrorlandia_minetest/minetest
Define environ variable on OpenBSD (#10302)
This commit is contained in:
parent
71287894ad
commit
9c7340104a
@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
|
|
||||||
#include "porting.h"
|
#include "porting.h"
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
|
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || defined(__OpenBSD__)
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
|
Loading…
Reference in New Issue
Block a user