diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-09-11 16:26:04 +0000 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-09-11 16:26:04 +0000 |
commit | 262c71ab63d5781cd68b23d2058cbb45ad67a54c (patch) | |
tree | f40f1cfe8247fd2d6f0d3be8dd038d1c6d92ffd3 | |
parent | 2746e5f21d4dce07ee55c58b2035ff631470577f (diff) | |
download | postgresql-262c71ab63d5781cd68b23d2058cbb45ad67a54c.tar.gz postgresql-262c71ab63d5781cd68b23d2058cbb45ad67a54c.zip |
Add missing #includes, needed on some platforms. This should make
the unixware buildfarm animals happy again.
-rw-r--r-- | src/backend/port/unix_latch.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/backend/port/unix_latch.c b/src/backend/port/unix_latch.c index ba136ea5aee..3f1e8739213 100644 --- a/src/backend/port/unix_latch.c +++ b/src/backend/port/unix_latch.c @@ -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 $ * *------------------------------------------------------------------------- */ @@ -86,6 +86,11 @@ #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" |