summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-16 00:01:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-16 00:01:29 +0000
commit9cfecc3be5cf6ce688b9511f20bf68f74b38a4c1 (patch)
tree2dfbccfa47e1ea617ab5084d0d8edffddb71630b /include
parentad434b70c6145cfe53b3f79df4cc44244a6f8324 (diff)
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
Diffstat (limited to 'include')
-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.