Re: Installation on SGI IRIX 6.5.10

From: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "pgsql-hackers(at)postgreSQL(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Installation on SGI IRIX 6.5.10
Date: 2001-05-14 16:41:04
Message-ID: 3B000AA0.76CD8373@nsi.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:

> > cc-1070 cc: ERROR File = xact.c, Line = 696
> > The indicated type is incomplete.
>
> > struct timeval delay;
> > ^
>
> Hm. Which system header file defines struct timeval on IRIX?
> I'd expect <time.h> or <sys/time.h>, but maybe they keep it
> someplace unusual.

In /usr/include/sys/time.h:

#if _XOPEN4UX || defined(_BSD_TYPES) || defined(_BSD_COMPAT)
/*
* Structure returned by gettimeofday(2) system call,
* and used in other calls.
* Note this is also defined in sys/resource.h
*/
#ifndef _TIMEVAL_T
#define _TIMEVAL_T
struct timeval {
#if _MIPS_SZLONG == 64
__int32_t :32;
#endif
time_t tv_sec; /* seconds */
long tv_usec; /* and microseconds */
};

-Tony

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message G. Anthony Reina 2001-05-14 16:43:02 Re: Addition to: Trouble with initdb when the #define NAMEDATALEN = 51
Previous Message Kovacs Zoltan 2001-05-14 16:13:07 Re: Re: bug in PLPGSQL