summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-07-10 11:46:23 +0000
committerguenther <guenther@openbsd.org>2012-07-10 11:46:23 +0000
commitf4d024fab1b251d38619d07171fc8ddc35297069 (patch)
treec0869708ca2d29609beec7d9d5c855eb72bd45b7
parentbsearch() doesn't belong here (it's in <stdlib.h>) (diff)
downloadwireguard-openbsd-f4d024fab1b251d38619d07171fc8ddc35297069.tar.xz
wireguard-openbsd-f4d024fab1b251d38619d07171fc8ddc35297069.zip
Stop pulling in <sys/param.h>
ok deraadt@
-rw-r--r--include/resolv.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/resolv.h b/include/resolv.h
index 41878119e7c..88fb92f5d2f 100644
--- a/include/resolv.h
+++ b/include/resolv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolv.h,v 1.17 2009/06/04 18:06:35 pyr Exp $ */
+/* $OpenBSD: resolv.h,v 1.18 2012/07/10 11:46:23 guenther Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -88,13 +88,8 @@
#ifndef _RESOLV_H_
#define _RESOLV_H_
-#include <sys/param.h>
-#if (!defined(BSD)) || (BSD < 199306)
-# include <sys/bitypes.h>
-#else
-# include <sys/types.h>
-#endif
#include <sys/cdefs.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>