diff options
Diffstat (limited to 'lib/libc/stdio/fgets.c')
| -rw-r--r-- | lib/libc/stdio/fgets.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdio/fgets.c b/lib/libc/stdio/fgets.c index 75ffb064..adeae1b4 100644 --- a/lib/libc/stdio/fgets.c +++ b/lib/libc/stdio/fgets.c @@ -1,5 +1,7 @@ -#include <libc.h> -#include <stdio.h> +#include "stddef.h" // for NULL + +#include <libc.h> // for weak_reference +#include <stdio.h> // for fread, FILE, fgets char *fgets(char *restrict s, int n, FILE *restrict stream) { |
