summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ypldap/ldapclient.c4
-rw-r--r--usr.sbin/ypldap/log.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/ypldap/ldapclient.c b/usr.sbin/ypldap/ldapclient.c
index 07388d53772..a4f822fa782 100644
--- a/usr.sbin/ypldap/ldapclient.c
+++ b/usr.sbin/ypldap/ldapclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldapclient.c,v 1.33 2015/11/15 01:31:57 jmatthew Exp $ */
+/* $OpenBSD: ldapclient.c,v 1.34 2015/11/17 02:16:52 deraadt Exp $ */
/*
* Copyright (c) 2008 Alexander Schrijver <aschrijver@openbsd.org>
@@ -20,7 +20,6 @@
#include <sys/types.h>
#include <sys/queue.h>
#include <sys/socket.h>
-#include <sys/signal.h>
#include <sys/tree.h>
#include <netinet/in.h>
@@ -29,6 +28,7 @@
#include <netdb.h>
#include <errno.h>
#include <err.h>
+#include <signal.h>
#include <event.h>
#include <fcntl.h>
#include <unistd.h>
diff --git a/usr.sbin/ypldap/log.c b/usr.sbin/ypldap/log.c
index 5264552ac0c..ce60ae1f8ec 100644
--- a/usr.sbin/ypldap/log.c
+++ b/usr.sbin/ypldap/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.1 2008/06/26 15:10:01 pyr Exp $ */
+/* $OpenBSD: log.c,v 1.2 2015/11/17 02:16:52 deraadt Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -24,6 +24,7 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
+#include <time.h>
void log_init(int);
void log_warn(const char *, ...);