summaryrefslogtreecommitdiff
path: root/src/os_msdos.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
committerBram Moolenaar <Bram@vim.org>2012-11-20 16:53:39 +0100
commit82881498663eb692e90dcfb9da0a7f573f228e35 (patch)
treebf2ffc25d638538bd870377c87d07709c0fcae6f /src/os_msdos.h
parent0ac24e1ef4b099c95c55261bc2d227ca5707d295 (diff)
downloadvim-82881498663eb692e90dcfb9da0a7f573f228e35.zip
updated for version 7.3.719
Problem: Cannot run new version of cproto, it fails on missing include files. Solution: Add lots of #ifndef PROTO
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>