Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c9f8c2f

Browse files
committed
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.
1 parent 10add9d commit c9f8c2f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/include/c.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
1313
* Portions Copyright (c) 1994, Regents of the University of California
1414
*
15-
* $Id: c.h,v 1.155 2003/10/14 19:08:00 momjian Exp $
15+
* $Id: c.h,v 1.156 2003/10/21 15:32:58 tgl Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -68,7 +68,9 @@
6868
#include <sys/types.h>
6969

7070
#include <errno.h>
71+
#if defined(__CYGWIN__) || defined(WIN32)
7172
#include <fcntl.h> /* ensure O_BINARY is available */
73+
#endif
7274
#ifdef HAVE_SUPPORTDEFS_H
7375
#include <SupportDefs.h>
7476
#endif

0 commit comments

Comments
 (0)