Skip to content
Permalink
Browse files

Define environ variable on OpenBSD (#10302)

  • Loading branch information
semarie committed Aug 20, 2020
1 parent 7128789 commit 9c7340104a7ec4007e3dfe0bb4482f3c8f9878e0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/porting.cpp
@@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,

#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/sysctl.h>
extern char **environ;

0 comments on commit 9c73401

Please sign in to comment.
You can’t perform that action at this time.