summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-01-16 00:01:28 +0000
committerderaadt <deraadt@openbsd.org>2015-01-16 00:01:28 +0000
commit587e6a09ebc661f22136c7e2e732ceced57f5cd6 (patch)
tree06630ddd687e331bcf50cecb6589388afb3bca25
parentswitch to PATH_MAX (diff)
downloadwireguard-openbsd-587e6a09ebc661f22136c7e2e732ceced57f5cd6.tar.xz
wireguard-openbsd-587e6a09ebc661f22136c7e2e732ceced57f5cd6.zip
Switch to including <sys/types.h> instead of <sys/param.h>
This hides the unavoidably cruddy sys/param.h namespace in some programs. Little impact, because many programs are cruddy and still get it via other includes. ports testing thanks to sthen and naddy ok guenther millert
-rw-r--r--include/arpa/nameser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/arpa/nameser.h b/include/arpa/nameser.h
index 7893f3354e1..052d859bc9b 100644
--- a/include/arpa/nameser.h
+++ b/include/arpa/nameser.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nameser.h,v 1.12 2012/12/05 23:19:57 deraadt Exp $ */
+/* $OpenBSD: nameser.h,v 1.13 2015/01/16 00:01:28 deraadt Exp $ */
/*
* ++Copyright++ 1983, 1989, 1993
@@ -81,7 +81,7 @@
#ifndef _NAMESER_H_
#define _NAMESER_H_
-#include <sys/param.h>
+#include <sys/types.h>
/*
* revision information. this is the release date in YYYYMMDD format.