浏览代码

Fix issue with stdio.h bits file not having FILE defined

Jeremy Soller 6 年之前
父节点
当前提交
f1df1f9f0b
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/bits/stdio.h

+ 2 - 0
include/bits/stdio.h

@@ -4,6 +4,8 @@
 #define EOF (-1)
 #define BUFSIZ 1024
 
+typedef struct FILE FILE;
+
 int fprintf(FILE * stream, const char * fmt, ...);
 int printf(const char * fmt, ...);
 int snprintf(char *s, size_t n, const char * fmt, ...);