summaryrefslogtreecommitdiffstats
path: root/lib/libwrap
diff options
context:
space:
mode:
authordavid <david@openbsd.org>2003-07-18 23:05:13 +0000
committerdavid <david@openbsd.org>2003-07-18 23:05:13 +0000
commit26fda0efb9ec24d261dd2a0d7555cf97a82c0069 (patch)
tree25da477e473613aad2841d01d2c8afafcd65d61f /lib/libwrap
parentcaddr_t -> void *. ok millert@ tdeval@ (diff)
downloadwireguard-openbsd-26fda0efb9ec24d261dd2a0d7555cf97a82c0069.tar.xz
wireguard-openbsd-26fda0efb9ec24d261dd2a0d7555cf97a82c0069.zip
add missing includes
ok tedu@
Diffstat (limited to 'lib/libwrap')
-rw-r--r--lib/libwrap/clean_exit.c5
-rw-r--r--lib/libwrap/percent_x.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libwrap/clean_exit.c b/lib/libwrap/clean_exit.c
index 3e6f3815462..8b23e53e3bb 100644
--- a/lib/libwrap/clean_exit.c
+++ b/lib/libwrap/clean_exit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clean_exit.c,v 1.1 1997/02/26 03:06:50 downsj Exp $ */
+/* $OpenBSD: clean_exit.c,v 1.2 2003/07/18 23:05:13 david Exp $ */
/*
* clean_exit() cleans up and terminates the program. It should be called
@@ -14,11 +14,12 @@
#if 0
static char sccsid[] = "@(#) clean_exit.c 1.4 94/12/28 17:42:19";
#else
-static char rcsid[] = "$OpenBSD: clean_exit.c,v 1.1 1997/02/26 03:06:50 downsj Exp $";
+static char rcsid[] = "$OpenBSD: clean_exit.c,v 1.2 2003/07/18 23:05:13 david Exp $";
#endif
#endif
#include <stdio.h>
+#include <stdlib.h>
#include <unistd.h>
#include "tcpd.h"
diff --git a/lib/libwrap/percent_x.c b/lib/libwrap/percent_x.c
index 96eb5eb8ed9..60291685f93 100644
--- a/lib/libwrap/percent_x.c
+++ b/lib/libwrap/percent_x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: percent_x.c,v 1.1 1997/02/26 03:06:55 downsj Exp $ */
+/* $OpenBSD: percent_x.c,v 1.2 2003/07/18 23:05:13 david Exp $ */
/*
* percent_x() takes a string and performs %<char> expansions. It aborts the
@@ -16,13 +16,14 @@
#if 0
static char sccsid[] = "@(#) percent_x.c 1.4 94/12/28 17:42:37";
#else
-static char rcsid[] = "$OpenBSD: percent_x.c,v 1.1 1997/02/26 03:06:55 downsj Exp $";
+static char rcsid[] = "$OpenBSD: percent_x.c,v 1.2 2003/07/18 23:05:13 david Exp $";
#endif
#endif
/* System libraries. */
#include <stdio.h>
+#include <stdlib.h>
#include <syslog.h>
#include <string.h>
#include <unistd.h>