summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cygwin_util.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-05-17 13:04:02 +0100
committerColin Watson <cjwatson@debian.org>2012-05-17 13:04:02 +0100
commitdd5ed53e20d218607260916a6b04d1c8c5b3d88f (patch)
treec59b4dbcc610f10700945f885adf3bddc2542c26 /openbsd-compat/bsd-cygwin_util.h
parent8241a65bf12ac53c1b7304bba7ce739aad80b8b8 (diff)
parentb9bc38990c5eb5d99e28ca5af6d3491fd4a0060a (diff)
merge 6.0p1
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.h')
-rw-r--r--openbsd-compat/bsd-cygwin_util.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h
index 48f64b740..d223792d7 100644
--- a/openbsd-compat/bsd-cygwin_util.h
+++ b/openbsd-compat/bsd-cygwin_util.h
@@ -1,4 +1,4 @@
1/* $Id: bsd-cygwin_util.h,v 1.13 2011/08/17 01:31:09 djm Exp $ */ 1/* $Id: bsd-cygwin_util.h,v 1.14 2012/03/30 03:07:07 djm Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001, 2011 Corinna Vinschen <vinschen@redhat.com> 4 * Copyright (c) 2000, 2001, 2011 Corinna Vinschen <vinschen@redhat.com>
@@ -40,6 +40,12 @@
40#include <sys/cygwin.h> 40#include <sys/cygwin.h>
41#include <io.h> 41#include <io.h>
42 42
43/* Make sure _WIN32 isn't defined later in the code, otherwise headers from
44 other packages might get the wrong idea about the target system. */
45#ifdef _WIN32
46#undef _WIN32
47#endif
48
43int binary_open(const char *, int , ...); 49int binary_open(const char *, int , ...);
44int check_ntsec(const char *); 50int check_ntsec(const char *);
45char **fetch_windows_environment(void); 51char **fetch_windows_environment(void);