libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available.
libiberty/ChangeLog: * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined but not HAVE_SYS_TIME_H. (fixes a build failure on LynxOS-178) From-SVN: r222918
This commit is contained in:
parent
6bc5949358
commit
f5e7f5900b
@ -1,3 +1,8 @@
|
||||
2015-05-08 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
|
||||
but not HAVE_SYS_TIME_H.
|
||||
|
||||
2015-04-22 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* setenv.c <environ>: Declare only if not a macro.
|
||||
|
@ -35,6 +35,8 @@
|
||||
#endif
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#elif HAVE_TIME_H
|
||||
#include <time.h>
|
||||
#endif
|
||||
#include "ansidecl.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user