From 12040a4f5c29f430cc3e0ced6b912b8cf7f5d301 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 1 Oct 2003 00:58:07 +0000 Subject: [PATCH] missing includes [RT#9194] --- lib/dns/portlist.c | 5 +++-- lib/isc/random.c | 8 +++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/dns/portlist.c b/lib/dns/portlist.c index a2472f53ed..d0819b6cdf 100644 --- a/lib/dns/portlist.c +++ b/lib/dns/portlist.c @@ -15,16 +15,17 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: portlist.c,v 1.3 2003/03/20 00:19:55 marka Exp $ */ +/* $Id: portlist.c,v 1.4 2003/10/01 00:58:07 marka Exp $ */ #include -#include #include +#include #include #include #include #include +#include #include #include diff --git a/lib/isc/random.c b/lib/isc/random.c index aa495e8348..7e4588e930 100644 --- a/lib/isc/random.c +++ b/lib/isc/random.c @@ -15,12 +15,18 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: random.c,v 1.18 2003/08/05 00:08:30 marka Exp $ */ +/* $Id: random.c,v 1.19 2003/10/01 00:58:07 marka Exp $ */ #include #include #include /* Required for time(). */ +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_UNISTD_H +#include +#endif #include #include