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

Commit 262c71a

Browse files
committed
Add missing #includes, needed on some platforms. This should make
the unixware buildfarm animals happy again.
1 parent 2746e5f commit 262c71a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/backend/port/unix_latch.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
* Portions Copyright (c) 1994, Regents of the University of California
7878
*
7979
* IDENTIFICATION
80-
* $PostgreSQL: pgsql/src/backend/port/unix_latch.c,v 1.1 2010/09/11 15:48:04 heikki Exp $
80+
* $PostgreSQL: pgsql/src/backend/port/unix_latch.c,v 1.2 2010/09/11 16:26:04 heikki Exp $
8181
*
8282
*-------------------------------------------------------------------------
8383
*/
@@ -86,6 +86,11 @@
8686
#include <fcntl.h>
8787
#include <signal.h>
8888
#include <unistd.h>
89+
#include <sys/time.h>
90+
#include <sys/types.h>
91+
#ifdef HAVE_SYS_SELECT_H
92+
#include <sys/select.h>
93+
#endif
8994

9095
#include "miscadmin.h"
9196
#include "storage/latch.h"

0 commit comments

Comments
 (0)