Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-05-08 | libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available. | Joel Brobecker | 1 | -0/+2 | |
Attempting to build libiberty on LynxOS-178 fails trying to compile mkstemps.c with the following error: mkstemps.c:84:18: error: storage size of 'tv' isn't known struct timeval tv; ^ This file would normally include <sys/time.h> to get the type's definition, but unfortunately LynxOS-178 does not want us to use <sys/time.h>, only <time.h>. The configure script correctly finds this out and generates a config.h file where HAVE_SYS_TIME_H is undefined: /* Define to 1 if you have the <sys/time.h> header file. */ /* #undef HAVE_SYS_TIME_H */ This patch fixes the build issue by falling back on including <time.h> if <sys/time.h> could not be included (and provided that HAVE_TIME_H is defined, of course). libiberty/ChangeLog: * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined but not HAVE_SYS_TIME_H. | |||||
2008-07-31 | merge from gcc | DJ Delorie | 1 | -1/+5 | |
2008-07-31 | merge from gcc | DJ Delorie | 1 | -0/+3 | |
2006-05-28 | merge from gcc | DJ Delorie | 1 | -1/+5 | |
2005-05-24 | merge from gcc | DJ Delorie | 1 | -10/+10 | |
2005-05-10 | Update the address and phone number of the FSF organization. | Nick Clifton | 1 | -2/+2 | |
2005-03-28 | merge from gcc | DJ Delorie | 1 | -3/+1 | |
2004-04-29 | merge from gcc | DJ Delorie | 1 | -5/+1 | |
2002-01-22 | merge from gcc | DJ Delorie | 1 | -0/+4 | |
2001-10-17 | merge from gcc | DJ Delorie | 1 | -4/+4 | |
2001-10-16 | merge from gcc | DJ Delorie | 1 | -6/+15 | |
2000-07-23 | * cp-demangle.c, mkstemps.c: #include <sys/types.h>. | Jeff Law | 1 | -0/+1 | |
2000-06-15 | Synced with libiberty in the gcc repository. | H.J. Lu | 1 | -1/+1 | |
1999-05-03 | 19990502 sourceware importbinu_ss_19990502 | Richard Henderson | 1 | -0/+128 | |