diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 50098071d3..923613d8ca 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,8 @@ +2015-05-08 Joel Brobecker + + * mkstemps.c: #include if HAVE_TIME_H is defined + but not HAVE_SYS_TIME_H. + 2015-04-22 Eli Zaretskii * setenv.c : Declare only if not a macro. diff --git a/libiberty/mkstemps.c b/libiberty/mkstemps.c index a0e68a73b4..0e06fe1705 100644 --- a/libiberty/mkstemps.c +++ b/libiberty/mkstemps.c @@ -35,6 +35,8 @@ #endif #ifdef HAVE_SYS_TIME_H #include +#elif HAVE_TIME_H +#include #endif #include "ansidecl.h"