summaryrefslogtreecommitdiff
path: root/openbsd-compat
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-08-07 16:28:16 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-08-07 16:28:16 +1000
commit80649c5fa6af0f6c8122f567c2c01b6aabfef07c (patch)
tree4b2996fa237dac5edc045e65ed195a613c57bfd3 /openbsd-compat
parent854d7fd43968c5a20e906aa300c687f3434c7da8 (diff)
- (dtucker) [session.c openbsd-compat/bsd-cygwin_util.h] Move Cygwin
specific defines and includes to bsd-cygwin_util.h. Fixes build error too.
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/bsd-cygwin_util.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h
index f9149fd17..5ccb0fba2 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.9 2003/08/07 06:23:43 dtucker Exp $ */ 1/* $Id: bsd-cygwin_util.h,v 1.10 2003/08/07 06:28:16 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com> 4 * Copyright (c) 2000, 2001, Corinna Vinschen <vinschen@cygnus.com>
@@ -34,6 +34,11 @@
34 34
35#ifdef HAVE_CYGWIN 35#ifdef HAVE_CYGWIN
36 36
37#undef ERROR
38#define is_winnt (GetVersion() < 0x80000000)
39
40#include <windows.h>
41#include <sys/cygwin.h>
37#include <io.h> 42#include <io.h>
38 43
39int binary_open(const char *, int , ...); 44int binary_open(const char *, int , ...);