mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
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