summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/bsd-cygwin_util.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-08-28 19:57:19 +1000
committerDarren Tucker <dtucker@zip.com.au>2012-08-28 19:57:19 +1000
commit318541854f6a1e770444f7cb19e33a3f005264bf (patch)
treeac9ab74ff4741c2aa52e5c2cac0245baa47fee35 /openbsd-compat/bsd-cygwin_util.h
parent39a9d2c93339a077cc3e49d2123c2a8b4ddd0e4c (diff)
- (dtucker) [openbsd-compat/bsd-cygwin_util.h] define WIN32_LEAN_AND_MEAN
for compatibility with future mingw-w64 headers. Patch from vinschen at redhat com.
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.h')
-rw-r--r--openbsd-compat/bsd-cygwin_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h
index d223792d..b4bcd04b 100644
--- a/openbsd-compat/bsd-cygwin_util.h
+++ b/openbsd-compat/bsd-cygwin_util.h
@@ -1,4 +1,4 @@
-/* $Id: bsd-cygwin_util.h,v 1.14 2012/03/30 03:07:07 djm Exp $ */
+/* $Id: bsd-cygwin_util.h,v 1.15 2012/08/28 09:57:19 dtucker Exp $ */
/*
* Copyright (c) 2000, 2001, 2011 Corinna Vinschen <vinschen@redhat.com>
@@ -36,6 +36,8 @@
#undef ERROR
+#define WIN32_LEAN_AND_MEAN
+
#include <windows.h>
#include <sys/cygwin.h>
#include <io.h>