summaryrefslogtreecommitdiff
path: root/src/netbeans.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/netbeans.c')
-rw-r--r--src/netbeans.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/netbeans.c b/src/netbeans.c
index d3fa4b0df..80a1b4375 100644
--- a/src/netbeans.c
+++ b/src/netbeans.c
@@ -16,7 +16,7 @@
* See ":help netbeans-protocol" for explanation.
*/
-#if defined(MSDOS) || defined(MSWIN)
+#if defined(MSDOS) || defined(WIN16) || defined(WIN32) || defined(_WIN64)
# include "vimio.h" /* for mch_open(), must be before vim.h */
#endif
@@ -29,7 +29,6 @@
# ifdef DEBUG
# include <tchar.h> /* for _T definition for TRACEn macros */
# endif
-# include "vimio.h"
/* WinSock API is separated from C API, thus we can't use read(), write(),
* errno... */
# define sock_errno WSAGetLastError()