summaryrefslogtreecommitdiff
path: root/src/stdio/fgetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/fgetc.c')
-rw-r--r--src/stdio/fgetc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdio/fgetc.c b/src/stdio/fgetc.c
index 08fe4e64..f03fd545 100644
--- a/src/stdio/fgetc.c
+++ b/src/stdio/fgetc.c
@@ -2,6 +2,7 @@
#include "_stdio.h"
#if !defined _POSIX_C_SOURCE || _POSIX_C_SOURCE < 199506L
+#undef getc_unlocked
#include "getc_unlocked.c"
#endif