Commit c9f8c2fd authored by Tom Lane's avatar Tom Lane

Revert to 7.3-and-before practice of only including <fcntl.h> in c.h

on Windows; per complaint from Andreas that it breaks AIX build.
parent 10add9d8
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: c.h,v 1.155 2003/10/14 19:08:00 momjian Exp $ * $Id: c.h,v 1.156 2003/10/21 15:32:58 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -68,7 +68,9 @@ ...@@ -68,7 +68,9 @@
#include <sys/types.h> #include <sys/types.h>
#include <errno.h> #include <errno.h>
#if defined(__CYGWIN__) || defined(WIN32)
#include <fcntl.h> /* ensure O_BINARY is available */ #include <fcntl.h> /* ensure O_BINARY is available */
#endif
#ifdef HAVE_SUPPORTDEFS_H #ifdef HAVE_SUPPORTDEFS_H
#include <SupportDefs.h> #include <SupportDefs.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment