Skip to content

Commit 46c4e6f

Browse files
author
Bryan Henderson
committed
Include fcntl.h, which is not automatically included by sys/file.h on all systems.
1 parent 1d84088 commit 46c4e6f

File tree

1 file changed

+2
-1
lines changed
  • src/backend/storage/smgr

1 file changed

+2
-1
lines changed

src/backend/storage/smgr/md.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.8 1996/11/08 05:59:07 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/md.c,v 1.9 1996/11/25 06:33:51 bryanh Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include <unistd.h>
1515
#include <stdio.h> /* for sprintf() */
1616
#include <string.h>
17+
#include <fcntl.h> /* for open() flags */
1718
#include <sys/file.h>
1819

1920
#include "postgres.h"

0 commit comments

Comments
 (0)