summaryrefslogtreecommitdiff
path: root/stdio/getc.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio/getc.c')
-rw-r--r--stdio/getc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdio/getc.c b/stdio/getc.c
new file mode 100644
index 0000000000..00aee33d31
--- /dev/null
+++ b/stdio/getc.c
@@ -0,0 +1,5 @@
+#include <ansidecl.h>
+#include <stdio.h>
+#undef getc
+#define fgetc getc
+#include <fgetc.c>