summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authorjca <jca@openbsd.org>2015-10-19 11:51:17 +0000
committerjca <jca@openbsd.org>2015-10-19 11:51:17 +0000
commit2448817a8fd18f3d4ad9584db38badd6786a4fa3 (patch)
treec65681bc648f972c0ab88d418eb7deb3cb95573e /usr.sbin/inetd
parentFix control_imsg_forward() by changing imsg_compose() to (diff)
downloadwireguard-openbsd-2448817a8fd18f3d4ad9584db38badd6786a4fa3.tar.xz
wireguard-openbsd-2448817a8fd18f3d4ad9584db38badd6786a4fa3.zip
Add err.h, missing after pledge() introduction.
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 5a173791f56..a9edecf9409 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inetd.c,v 1.144 2015/10/18 16:11:19 jca Exp $ */
+/* $OpenBSD: inetd.c,v 1.145 2015/10/19 11:51:17 jca Exp $ */
/*
* Copyright (c) 1983,1991 The Regents of the University of California.
@@ -134,6 +134,7 @@
#include <netinet/in.h>
#include <arpa/inet.h>
+#include <err.h>
#include <errno.h>
#include <ctype.h>
#include <signal.h>