summaryrefslogtreecommitdiff
path: root/src/stdio/fputc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fputc.c')
-rw-r--r--src/stdio/fputc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdio/fputc.c b/src/stdio/fputc.c
index c392a19c..20cf5c6b 100644
--- a/src/stdio/fputc.c
+++ b/src/stdio/fputc.c
@@ -5,8 +5,8 @@
#include "sys/types.h"
#include "unistd.h"
#else
-#include "nonstd/syscall.h"
-#define write(_fd, _buf, _size) __syscall(__lookup("write"), _fd, _buf, _size)
+#include "../_syscall.h"
+#define write(_fd, _buf, _size) __syscall(__syscall_lookup(write), _fd, _buf, _size)
#endif
/** write a character to a file stream **/