diff options
Diffstat (limited to 'stdio')
-rw-r--r-- | stdio/fclose.c | 3 | ||||
-rw-r--r-- | stdio/getdelim.c | 1 | ||||
-rw-r--r-- | stdio/memstream.c | 3 | ||||
-rw-r--r-- | stdio/setvbuf.c | 3 |
4 files changed, 7 insertions, 3 deletions
diff --git a/stdio/fclose.c b/stdio/fclose.c index becb85802f..bcf4cd4163 100644 --- a/stdio/fclose.c +++ b/stdio/fclose.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,6 +21,7 @@ Cambridge, MA 02139, USA. */ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> /* Close a stream. */ diff --git a/stdio/getdelim.c b/stdio/getdelim.c index 8047c1fe0c..2cdb95c2a6 100644 --- a/stdio/getdelim.c +++ b/stdio/getdelim.c @@ -22,6 +22,7 @@ Cambridge, MA 02139, USA. */ #include <stdlib.h> #include <string.h> #include <limits.h> +#include <errno.h> /* Read up to (and including) a TERMINATOR from STREAM into *LINEPTR (and null-terminate it). *LINEPTR is a pointer returned from malloc (or diff --git a/stdio/memstream.c b/stdio/memstream.c index 704eca53b3..1a8b35081d 100644 --- a/stdio/memstream.c +++ b/stdio/memstream.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1994 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1994, 1995 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,6 +20,7 @@ Cambridge, MA 02139, USA. */ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <errno.h> struct memstream_info { diff --git a/stdio/setvbuf.c b/stdio/setvbuf.c index 8c33386610..6bfe829d1d 100644 --- a/stdio/setvbuf.c +++ b/stdio/setvbuf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1993, 1995 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,6 +20,7 @@ Cambridge, MA 02139, USA. */ #include <stddef.h> #include <stdio.h> #include <stdlib.h> +#include <errno.h> /* Make STREAM use the buffering method given in MODE. |