diff --git a/libc/stdio/confstr.c b/libc/stdio/confstr.c index 735b9589d..746268475 100644 --- a/libc/stdio/confstr.c +++ b/libc/stdio/confstr.c @@ -17,7 +17,6 @@ │ PERFORMANCE OF THIS SOFTWARE. │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/paths.h" -#include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/sysv/errfuns.h" #include "libc/unistd.h" diff --git a/libc/stdio/stdio.h b/libc/stdio/stdio.h index 4d385e0ba..d9f560b2b 100644 --- a/libc/stdio/stdio.h +++ b/libc/stdio/stdio.h @@ -79,7 +79,6 @@ int setvbuf(FILE *, char *, int, size_t) libcesque; int pclose(FILE *) libcesque; char *ctermid(char *) libcesque; void perror(const char *) libcesque relegated; -size_t confstr(int, char *, size_t) libcesque; typedef uint64_t fpos_t; char *gets(char *) libcesque paramsnonnull(); diff --git a/libc/unistd.h b/libc/unistd.h index 04bf9c95a..2eb5b346a 100644 --- a/libc/unistd.h +++ b/libc/unistd.h @@ -4,6 +4,8 @@ COSMOPOLITAN_C_START_ #define _CS_PATH 0 +size_t confstr(int, char *, size_t) libcesque; + #if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) || \ defined(_COSMO_SOURCE) void encrypt(char *, int) libcesque;