summaryrefslogtreecommitdiff
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 d223792d7..b4bcd04b7 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.14 2012/03/30 03:07:07 djm Exp $ */ 1/* $Id: bsd-cygwin_util.h,v 1.15 2012/08/28 09:57:19 dtucker 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>
@@ -36,6 +36,8 @@
36 36
37#undef ERROR 37#undef ERROR
38 38
39#define WIN32_LEAN_AND_MEAN
40
39#include <windows.h> 41#include <windows.h>
40#include <sys/cygwin.h> 42#include <sys/cygwin.h>
41#include <io.h> 43#include <io.h>