[Pkg-privacy-commits] [torsocks] 07/38: Include <sys/param.h> for __NetBSD_Prereq__ on NetBSD.
Intrigeri
intrigeri at moszumanska.debian.org
Thu Jun 23 15:18:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
intrigeri pushed a commit to branch experimental/master
in repository torsocks.
commit 59ce5f3b34641fd243a7e349fb72bcf408a7c6a0
Author: Taylor R Campbell <campbell+torsocks at 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 at 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>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torsocks.git
More information about the Pkg-privacy-commits
mailing list