commit 59ce5f3b34641fd243a7e349fb72bcf408a7c6a0 Author: Taylor R Campbell campbell+torsocks@mumble.net Date: Mon Jun 13 16:02:32 2016 -0400
Include <sys/param.h> for __NetBSD_Prereq__ on NetBSD.
Signed-off-by: David Goulet dgoulet@ev0ke.net --- src/lib/torsocks.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/src/lib/torsocks.h b/src/lib/torsocks.h index a7907f5..f00af75 100644 --- a/src/lib/torsocks.h +++ b/src/lib/torsocks.h @@ -36,6 +36,10 @@ #if (defined(__linux__) || defined(__GLIBC__) || defined(__FreeBSD__) || \ defined(__darwin__) || defined(__NetBSD__))
+#ifdef __NetBSD__ +#include <sys/param.h> /* __NetBSD_Version__ */ +#endif + /* connect(2) */ #include <sys/types.h> #include <sys/socket.h>
tor-commits@lists.torproject.org