diff options
Diffstat (limited to 'libc/stdio')
-rw-r--r-- | libc/stdio/getline.c | 1 | ||||
-rw-r--r-- | libc/stdio/perror.c | 1 | ||||
-rw-r--r-- | libc/stdio/scanf.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/libc/stdio/getline.c b/libc/stdio/getline.c index 870f6ed4a..8b3331703 100644 --- a/libc/stdio/getline.c +++ b/libc/stdio/getline.c @@ -22,6 +22,7 @@ */ #include <stddef.h> +#include <sys/types.h> #define __USE_GNU #include <stdio.h> diff --git a/libc/stdio/perror.c b/libc/stdio/perror.c index 04cd688d8..33b5e08b0 100644 --- a/libc/stdio/perror.c +++ b/libc/stdio/perror.c @@ -1,3 +1,4 @@ +#include <string.h> #include <stdio.h> #include <errno.h> diff --git a/libc/stdio/scanf.c b/libc/stdio/scanf.c index 0b9e8007c..c8b487ed1 100644 --- a/libc/stdio/scanf.c +++ b/libc/stdio/scanf.c @@ -33,6 +33,7 @@ #include <stdlib.h> #include <unistd.h> +#define __USE_ISOC99 #include <stdio.h> #include <ctype.h> #include <string.h> |