summaryrefslogtreecommitdiff
path: root/src/stdio/_stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/_stdio.h')
-rw-r--r--src/stdio/_stdio.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/stdio/_stdio.h b/src/stdio/_stdio.h
index dac25c13..43db57a0 100644
--- a/src/stdio/_stdio.h
+++ b/src/stdio/_stdio.h
@@ -61,8 +61,10 @@ struct __stdio {
extern struct __stdio __stdio;
#if !defined _POSIX_C_SOURCE || _POSIX_C_SOURCE < 199506L
-#define flockfile(_file) (void)(_file)
-#define funlockfile(_file) (void)(_file)
+#define flockfile(_file) (void)(_file)
+#define funlockfile(_file) (void)(_file)
+#define putc_unlocked(_c, _stream) fputc(_c, _stream)
+#define getc_unlocked(_stream) fgetc(_stream)
#endif
#endif