aboutsummaryrefslogtreecommitdiffstats
path: root/pc/popen.h
diff options
context:
space:
mode:
Diffstat (limited to 'pc/popen.h')
-rw-r--r--pc/popen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pc/popen.h b/pc/popen.h
index 99f00169..9a04299c 100644
--- a/pc/popen.h
+++ b/pc/popen.h
@@ -10,4 +10,8 @@
# define pclose(f) os_pclose(f)
extern FILE *os_popen( const char *, const char * );
extern int os_pclose( FILE * );
+# ifdef __MINGW32__
+# define system(c) os_system(c)
+ extern int os_system( const char * );
+# endif /* __MINGW32__ */
#endif /* !__DJGPP__ */