ncannasse 7 سال پیش
والد
کامیت
28b2c3538c
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      src/std/file.c

+ 3 - 0
src/std/file.c

@@ -21,6 +21,9 @@
  */
 #include <hl.h>
 #include <stdio.h>
+#ifdef HL_CONSOLE
+#	include <posix/posix.h>
+#endif
 #ifdef HL_WIN
 #	include <windows.h>
 #	define fopen(name,mode) _wfopen(name,mode)