ld signed overflow fix
[deliverable/binutils-gdb.git] / libiberty / mkstemps.c
index a0e68a73b4915d27d97b3b9d5d3779f6c3f7023f..b57880ef0ed7a07baf1c67ba67dbfbeaad28697b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1996, 1998, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2019 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"
 
This page took 0.024623 seconds and 4 git commands to generate.