summaryrefslogtreecommitdiffstats
path: root/usr.sbin/relayd/log.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-12-21 00:54:49 +0000
committerguenther <guenther@openbsd.org>2014-12-21 00:54:49 +0000
commit395002a2ec6c1c63e9fd9e7a5e045c08e52c3499 (patch)
treec8ab37a00e9687408cfaaf75b9fce8d169f3d8e4 /usr.sbin/relayd/log.c
parentShow the sign for NaN as per POSIX; from Elliott Hughes. (diff)
downloadwireguard-openbsd-395002a2ec6c1c63e9fd9e7a5e045c08e52c3499.tar.xz
wireguard-openbsd-395002a2ec6c1c63e9fd9e7a5e045c08e52c3499.zip
Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.
*Do* pull it in when in_{port,addr}_h is needed and <netinet/in.h> isn't. ok reyk@
Diffstat (limited to 'usr.sbin/relayd/log.c')
-rw-r--r--usr.sbin/relayd/log.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/relayd/log.c b/usr.sbin/relayd/log.c
index 4dbc0527332..ff4e3bbf418 100644
--- a/usr.sbin/relayd/log.c
+++ b/usr.sbin/relayd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.25 2014/12/12 10:05:09 reyk Exp $ */
+/* $OpenBSD: log.c,v 1.26 2014/12/21 00:54:49 guenther Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -24,7 +24,6 @@
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/ip.h>
-#include <arpa/inet.h>
#include <errno.h>
#include <stdarg.h>