summaryrefslogtreecommitdiff
path: root/lib/libwrap
diff options
context:
space:
mode:
authordanw <danw@NetBSD.org>2000-02-05 19:14:57 +0000
committerdanw <danw@NetBSD.org>2000-02-05 19:14:57 +0000
commitff856525f80a4c47ffdf6822d4e2601393eae764 (patch)
tree9cced55b4b6500f6e476316cbe94513da2a8453d /lib/libwrap
parentd9b42dd1fc3137cde3118417c57a3a009fae2d2e (diff)
#include <stdio.h> to cover the use of "FILE *" in one of the prototypes.
(The stock tcpd.h doesn't have prototypes, and some third-party code assumes it can include tcpd.h without stdio.h.)
Diffstat (limited to 'lib/libwrap')
-rw-r--r--lib/libwrap/tcpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libwrap/tcpd.h b/lib/libwrap/tcpd.h
index c65dd1d4b6f..b44cfa30abf 100644
--- a/lib/libwrap/tcpd.h
+++ b/lib/libwrap/tcpd.h
@@ -1,10 +1,12 @@
-/* $NetBSD: tcpd.h,v 1.8 1999/08/31 13:58:58 itojun Exp $ */
+/* $NetBSD: tcpd.h,v 1.9 2000/02/05 19:14:57 danw Exp $ */
/*
* @(#) tcpd.h 1.5 96/03/19 16:22:24
*
* Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
*/
+#include <stdio.h>
+
/* Structure to describe one communications endpoint. */
#define STRING_LENGTH 128 /* hosts, users, processes */