[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torsocks/master] Include <sys/param.h> for __NetBSD_Prereq__ on NetBSD.
commit 59ce5f3b34641fd243a7e349fb72bcf408a7c6a0
Author: Taylor R Campbell <campbell+torsocks@xxxxxxxxxx>
Date: Mon Jun 13 16:02:32 2016 -0400
Include <sys/param.h> for __NetBSD_Prereq__ on NetBSD.
Signed-off-by: David Goulet <dgoulet@xxxxxxxxx>
---
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits