diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-15 21:20:52 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-15 21:20:52 -0400 |
| commit | c4e34dcb011a90a102339a008e309b3d328339be (patch) | |
| tree | b8bf69f6abdc07ab89a9ed01686e65b0be48ac3f /src | |
| parent | a8e42258fc1c84abc6536c5f80b7d2e72d72e54c (diff) | |
cleanup includes
Diffstat (limited to 'src')
| -rw-r--r-- | src/stdio/putc_unlocked.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stdio/putc_unlocked.c b/src/stdio/putc_unlocked.c index 1e031e40..cf8c9cb4 100644 --- a/src/stdio/putc_unlocked.c +++ b/src/stdio/putc_unlocked.c @@ -2,9 +2,9 @@ #include "_stdio.h" #include "_assert.h" -#if defined _POSIX_SOURCE || defined _POSIX_C_SOURCE || defined _XOPEN_SOURCE -#include "sys/types.h" -#include "unistd.h" +#ifdef _POSIX_SOURCE +#include <sys/types.h> +#include <unistd.h> #else #include "_syscall.h" #define write(_fd, _buf, _size) __syscall(__syscall_lookup(write), _fd, _buf, _size) |
