Displaying 1 result from an estimated 1 matches for "_struct_timeval".
1999 May 18
0
A typo bug in Samba 2.0.4 source code (here's the fix!)
There's a little source code (typo?) bug in "samba-2.0.4/source/lib/system.c"
that hurts compilation at least on HPUX 9.0x (with HP's cc, not gcc!) !!
In HPUX's "/usr/include/sys/time.h":
..
# ifndef _STRUCT_TIMEVAL
# define _STRUCT_TIMEVAL
/* Structure returned by gettimeofday(2) system call and others */
struct timeval {
unsigned long tv_sec; /* seconds */
long tv_usec; /* and microseconds */
};
# endif /* _STRUCT_TIMEVAL */
..
Here's the fix:...