*** ./src/include/c.h.orig	Tue Oct 14 21:08:00 2003
--- ./src/include/c.h	Thu Oct 16 13:56:00 2003
***************
*** 68,74 ****
--- 68,76 ----
  #include <sys/types.h>
  
  #include <errno.h>
+ #if defined(__CYGWIN__) || defined(WIN32)
  #include <fcntl.h>				/* ensure O_BINARY is available */
+ #endif
  #ifdef HAVE_SUPPORTDEFS_H
  #include <SupportDefs.h>
  #endif
*** ./src/interfaces/ecpg/ecpglib/misc.c.orig	Tue Sep  9 12:46:37 2003
--- ./src/interfaces/ecpg/ecpglib/misc.c	Thu Oct 16 15:57:53 2003
***************
*** 20,26 ****
--- 20,30 ----
  
  #ifdef HAVE_LONG_LONG_INT_64
  #ifndef LONG_LONG_MIN
+ #ifdef LLONG_MIN
  #define LONG_LONG_MIN LLONG_MIN
+ #else
+ #define LONG_LONG_MIN LONGLONG_MIN
+ #endif
  #endif
  #endif
  
