sim: remove sys/times.h in most places

The v850 port used this, and then it got copied to other ports even
though it wasn't needed.  Clean it up to avoid portability issues on
platforms not providing this (e.g. mingw64 for Windows).
This commit is contained in:
Mike Frysinger
2021-05-04 08:33:24 -04:00
parent 4df817de57
commit a147f3ff8c
6 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* interp.c: Delete sys/times.h include.
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <sys/times.h>
#include <sys/param.h>
#include <unistd.h>
#include "bfd.h"

View File

@ -1,3 +1,7 @@
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* op_utils.c: Delete sys/times.h include.
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -8,7 +8,6 @@
#endif
#include <string.h>
#include <sys/stat.h>
#include <sys/times.h>
#include <sys/time.h>

View File

@ -1,3 +1,7 @@
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* interp.c: Delete sys/times.h include.
2021-05-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -22,7 +22,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <signal.h>
#include <stdlib.h>
#include <string.h>
#include <sys/times.h>
#include <sys/param.h>
#include <unistd.h>
#include "bfd.h"