summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-11-15 09:07:57 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-11-15 09:07:57 +0000
commit9880571106c944fe4685167f366b061a55a1f5c7 (patch)
tree16ab8a7eb36b6785ab94e155d0569f351a46140a /usr.sbin
parentf49577169a4c51efbd6e0367d9c183b024bdb464 (diff)
add missing headers needed by err/errx(), alarm(), sigemptyset(), sigaction().
"go ahead" sturm@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rpc.lockd/lockd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/rpc.lockd/lockd.c b/usr.sbin/rpc.lockd/lockd.c
index 6849f1be5ae..0befb6d5d29 100644
--- a/usr.sbin/rpc.lockd/lockd.c
+++ b/usr.sbin/rpc.lockd/lockd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lockd.c,v 1.11 2008/06/15 04:48:03 sturm Exp $ */
+/* $OpenBSD: lockd.c,v 1.12 2009/11/15 09:07:56 chl Exp $ */
/*
* Copyright (c) 1995
@@ -44,8 +44,11 @@
#include <stdio.h>
#include <syslog.h>
#include <stdlib.h>
+#include <err.h>
#include <errno.h>
+#include <signal.h>
#include <string.h>
+#include <unistd.h>
#include <netdb.h>
#include "lockd.h"