From c4e34dcb011a90a102339a008e309b3d328339be Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 21:20:52 -0400 Subject: cleanup includes --- src/stdio/putc_unlocked.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/stdio') 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 +#include #else #include "_syscall.h" #define write(_fd, _buf, _size) __syscall(__syscall_lookup(write), _fd, _buf, _size) -- cgit v1.2.1