summaryrefslogtreecommitdiff
path: root/win32/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.h')
-rw-r--r--win32/win32.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index 841dbc5d3b..1930e391da 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -168,6 +168,13 @@ typedef long gid_t;
# endif
#endif
+#ifndef _O_NOINHERIT
+# define _O_NOINHERIT 0x0080
+# ifndef _NO_OLDNAMES
+# define O_NOINHERIT _O_NOINHERIT
+# endif
+#endif
+
#endif /* __MINGW32__ */
/* compatibility stuff for other compilers goes here */
@@ -254,6 +261,9 @@ struct thread_intern {
char Wstrerror_buffer[512];
struct servent Wservent;
char Wgetlogin_buffer[128];
+# ifdef USE_SOCKETS_AS_HANDLES
+ int Winit_socktype;
+# endif
# ifdef HAVE_DES_FCRYPT
char Wcrypt_buffer[30];
# endif