comparison libiberty/mkstemps.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents a06113de4d67
children 84e7813d76e9
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* Copyright (C) 1991, 1992, 1996, 1998, 2004 Free Software Foundation, Inc. 1 /* Copyright (C) 1991-2017 Free Software Foundation, Inc.
2 This file is derived from mkstemp.c from the GNU C Library. 2 This file is derived from mkstemp.c from the GNU C Library.
3 3
4 The GNU C Library is free software; you can redistribute it and/or 4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Library General Public License as 5 modify it under the terms of the GNU Library General Public License as
6 published by the Free Software Foundation; either version 2 of the 6 published by the Free Software Foundation; either version 2 of the
33 #ifdef HAVE_UNISTD_H 33 #ifdef HAVE_UNISTD_H
34 #include <unistd.h> 34 #include <unistd.h>
35 #endif 35 #endif
36 #ifdef HAVE_SYS_TIME_H 36 #ifdef HAVE_SYS_TIME_H
37 #include <sys/time.h> 37 #include <sys/time.h>
38 #elif HAVE_TIME_H
39 #include <time.h>
38 #endif 40 #endif
39 #include "ansidecl.h" 41 #include "ansidecl.h"
40 42
41 /* We need to provide a type for gcc_uint64_t. */ 43 /* We need to provide a type for gcc_uint64_t. */
42 #ifdef __GNUC__ 44 #ifdef __GNUC__