Revert to 7.3-and-before practice of only including in c.h
authorTom Lane
Tue, 21 Oct 2003 15:32:58 +0000 (15:32 +0000)
committerTom Lane
Tue, 21 Oct 2003 15:32:58 +0000 (15:32 +0000)
on Windows; per complaint from Andreas that it breaks AIX build.

src/include/c.h

index 428c1350e7d3a9a31aa57478dd49ac1afcfa919e..b38d8a33edd39785614a75296471f8a742d357b4 100644 (file)
@@ -12,7 +12,7 @@
  * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
  * 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 @@
 #include 
 
 #include 
+#if defined(__CYGWIN__) || defined(WIN32)
 #include              /* ensure O_BINARY is available */
+#endif
 #ifdef HAVE_SUPPORTDEFS_H
 #include 
 #endif