summaryrefslogtreecommitdiff
path: root/lib/libwrap/tcpd.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-04-26 04:11:03 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-04-26 04:11:03 +0000
commit476519eb5ac732d33d2b60e1aa3c36e5b9127707 (patch)
tree334707f2ecc8d3a21feced2de109ec9d2e8e1a9a /lib/libwrap/tcpd.h
parent1013e9c7bf74d563c9423903205015a2519b1cf4 (diff)
Only proto xgets() if stdio has been included
Diffstat (limited to 'lib/libwrap/tcpd.h')
-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 8a7ba02e6de..721b2a92bd5 100644
--- a/lib/libwrap/tcpd.h
+++ b/lib/libwrap/tcpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcpd.h,v 1.4 1997/06/30 06:06:00 deraadt Exp $ */
+/* $OpenBSD: tcpd.h,v 1.5 1999/04/26 04:11:02 downsj Exp $ */
/*
* Copyright (c) 1997, Jason Downs. All rights reserved.
@@ -110,7 +110,9 @@ extern char *percent_x __P((char *, int, char *, struct request_info *));
extern void rfc931 __P((struct sockaddr_in *, struct sockaddr_in *, char *));
extern void clean_exit __P((struct request_info *));
extern void refuse __P((struct request_info *));
+#ifdef _STDIO_H_
extern char *xgets __P((char *, int, FILE *));
+#endif /* _STDIO_H_ */
extern char *split_at __P((char *, int));
extern in_addr_t dot_quad_addr __P((char *));