diff src/vim.h @ 2668:bfade53bcafb v7.3.087

updated for version 7.3.087 Problem: EINTR is not always defined. Solution: Include errno.h in vim.h.
author Bram Moolenaar <bram@vim.org>
date Fri, 17 Dec 2010 20:24:01 +0100
parents 1a0d346695fa
children 6a2e4860134b
line wrap: on
line diff
--- a/src/vim.h
+++ b/src/vim.h
@@ -480,6 +480,11 @@ typedef unsigned long u8char_T;	    /* l
 # include <sys/stat.h>
 #endif
 
+#if defined(HAVE_ERRNO_H) || defined(DJGPP) || defined(WIN16) \
+	|| defined(WIN32) || defined(_WIN64) || defined(__EMX__)
+# include <errno.h>
+#endif
+
 /*
  * Allow other (non-unix) systems to configure themselves now
  * These are also in os_unix.h, because osdef.sh needs them there.