OSDN Git Service

Add missing #includes, needed on some platforms. This should make
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 11 Sep 2010 16:26:04 +0000 (16:26 +0000)
committerMasaoFujii <masao.fujii@gmail.com>
Thu, 7 Oct 2010 10:45:32 +0000 (19:45 +0900)
the unixware buildfarm animals happy again.

src/backend/port/unix_latch.c

index ba136ea..3f1e873 100644 (file)
@@ -77,7 +77,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/port/unix_latch.c,v 1.1 2010/09/11 15:48:04 heikki Exp $
+ *       $PostgreSQL: pgsql/src/backend/port/unix_latch.c,v 1.2 2010/09/11 16:26:04 heikki Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include <fcntl.h>
 #include <signal.h>
 #include <unistd.h>
+#include <sys/time.h>
+#include <sys/types.h>
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
 
 #include "miscadmin.h"
 #include "storage/latch.h"