diff options
author | David Krause <david@cvs.openbsd.org> | 2003-07-18 23:05:14 +0000 |
---|---|---|
committer | David Krause <david@cvs.openbsd.org> | 2003-07-18 23:05:14 +0000 |
commit | 0470d3c1e67d8bcfa4897e2df4090e4651fc61fd (patch) | |
tree | e765f51e1364f95e38e341927ae1039df4dc8efd /lib/libwrap | |
parent | 43f142e04267bb0aeca66556f3e3b79fc0fbb538 (diff) |
add missing includes
ok tedu@
Diffstat (limited to 'lib/libwrap')
-rw-r--r-- | lib/libwrap/clean_exit.c | 5 | ||||
-rw-r--r-- | lib/libwrap/percent_x.c | 5 |
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> |