Skip to content

Commit 746358f

Browse files
committed
libexec: fix compiler error for FreeBSD
1 parent 6a89c1d commit 746358f

File tree

1 file changed

+1
-2
lines changed
  • source/intercept-library/library

1 file changed

+1
-2
lines changed

source/intercept-library/library/lib.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
#if defined HAVE_NSGETENVIRON
3232
#include <crt_externs.h>
3333
#else
34-
#include <unistd.h>
35-
34+
extern char **environ;
3635
#endif
3736

3837
namespace {

0 commit comments

Comments
 (0)