diff options
Diffstat (limited to 'misc/getttyent.c')
-rw-r--r-- | misc/getttyent.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/getttyent.c b/misc/getttyent.c index e886e58b8e..dc4b9fadcb 100644 --- a/misc/getttyent.c +++ b/misc/getttyent.c @@ -40,6 +40,11 @@ static char sccsid[] = "@(#)getttyent.c 8.1 (Berkeley) 6/4/93"; #include <ctype.h> #include <string.h> +#ifdef USE_IN_LIBIO +# define flockfile(s) _IO_flockfile (s) +# define funlockfile(s) _IO_funlockfile (s) +#endif + static char zapchar; static FILE *tf; |