This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available.
- From: Jeff Law <law at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>, gcc-patches at gcc dot gnu dot org
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 08 May 2015 12:51:49 -0600
- Subject: Re: [RFA] libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available.
- Authentication-results: sourceware.org; auth=none
- References: <1431095891-7196-1-git-send-email-brobecker at adacore dot com>
On 05/08/2015 08:38 AM, Joel Brobecker wrote:
Hello,
Attempting to build libiberty on LynxOS-178 fails trying to compile
mkstemps.c with the following error:
LynxOS? I haven't had to do anything with that since, umm, the early
90s. So sorry you've got that task...
libiberty/ChangeLog:
* mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
but not HAVE_SYS_TIME_H.
OK to commit?
OK.
jeff