Mercurial > hg > CbC > CbC_gcc
diff libiberty/mkstemps.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | a06113de4d67 |
children | 84e7813d76e9 |
line wrap: on
line diff
--- a/libiberty/mkstemps.c Sun Aug 21 07:07:55 2011 +0900 +++ b/libiberty/mkstemps.c Fri Oct 27 22:46:09 2017 +0900 @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1996, 1998, 2004 Free Software Foundation, Inc. +/* Copyright (C) 1991-2017 Free Software Foundation, Inc. This file is derived from mkstemp.c from the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -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"