From 07b13a4f0399f73b568e09c2786d7c1b2f30492c Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Mon, 3 Nov 1997 22:01:49 +0000 Subject: [PATCH] fclose prototype git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3774 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/roken.h | 5 +++++ lib/roken/roken.h.in | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/lib/roken/roken.h b/lib/roken/roken.h index b0cc68035..03345079e 100644 --- a/lib/roken/roken.h +++ b/lib/roken/roken.h @@ -41,6 +41,7 @@ #ifndef __ROKEN_H__ #define __ROKEN_H__ +#include #include #include #include @@ -160,6 +161,10 @@ int strnlen(char*, int); char *strsep(char**, const char*); #endif +#ifdef NEED_FCLOSE_PROTO +int fclose(FILE *); +#endif + #ifdef NEED_STRTOK_R_PROTO char *strtok_r(char *s1, const char *s2, char **lasts); #endif diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index b0cc68035..03345079e 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -41,6 +41,7 @@ #ifndef __ROKEN_H__ #define __ROKEN_H__ +#include #include #include #include @@ -160,6 +161,10 @@ int strnlen(char*, int); char *strsep(char**, const char*); #endif +#ifdef NEED_FCLOSE_PROTO +int fclose(FILE *); +#endif + #ifdef NEED_STRTOK_R_PROTO char *strtok_r(char *s1, const char *s2, char **lasts); #endif