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



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to