summaryrefslogtreecommitdiff
path: root/src/os_win16.c
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_win16.c
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_win16.c')
-rw-r--r--src/os_win16.c17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/os_win16.c b/src/os_win16.c
index b620149e7..49e6e300b 100644
--- a/src/os_win16.c
+++ b/src/os_win16.c
@@ -22,16 +22,23 @@
#include "vim.h"
-#include <dos.h>
+/* cproto fails on missing include files */
+#ifndef PROTO
+# include <dos.h>
+#endif
+
#include <string.h>
#include <sys/types.h>
#include <signal.h>
#include <limits.h>
-#include <process.h>
-#undef chdir
-#include <direct.h>
-#include <shellapi.h> /* required for FindExecutable() */
+#ifndef PROTO
+# include <process.h>
+
+# undef chdir
+# include <direct.h>
+# include <shellapi.h> /* required for FindExecutable() */
+#endif
/* Record all output and all keyboard & mouse input */