libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available.
commitf5e7f5900b6be6fff60da6aee6eb76952236b5e3
authorJoel Brobecker <brobecker@adacore.com>
Fri, 8 May 2015 17:14:26 +0000 (8 17:14 +0000)
committerJoel Brobecker <brobecke@gcc.gnu.org>
Fri, 8 May 2015 17:14:26 +0000 (8 17:14 +0000)
tree344ec8553dc136eb5e20b5138e48d895ba582733
parent6bc5949358737e1be9badf78b82836c9e31e8d88
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
libiberty/ChangeLog
libiberty/mkstemps.c