summaryrefslogtreecommitdiff
path: root/src/os_msdos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_msdos.h')
-rw-r--r--src/os_msdos.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/os_msdos.h b/src/os_msdos.h
index 95578bc1f..735410fa0 100644
--- a/src/os_msdos.h
+++ b/src/os_msdos.h
@@ -53,9 +53,12 @@
#define FNAME_ILLEGAL "\"*?><|" /* illegal characters in a file name */
-#include <dos.h>
-#include <dir.h>
-#include <time.h>
+/* cproto fails on missing include files */
+#ifndef PROTO
+# include <dos.h>
+# include <dir.h>
+# include <time.h>
+#endif
#ifdef DJGPP
# include <unistd.h>