Skip to content

Commit a7b40b1

Browse files
author
Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)
committed
POSIX requires environ to be declared before use.
1 parent 84f42fe commit a7b40b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/maidsafe/tests/client_test.cc

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
#include "maidsafe/client.h"
2020

21+
#ifdef __FreeBSD__
22+
extern "C" char **environ;
23+
#endif
24+
2125
#include "boost/process/child.hpp"
2226
#include "boost/process/execute.hpp"
2327
#include "boost/process/initializers.hpp"

0 commit comments

Comments
 (0)