]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/ppc/emul_unix.c
Do not check for sys/time.h or sys/times.h
[thirdparty/binutils-gdb.git] / sim / ppc / emul_unix.c
index 2616ae408ba7e595942658df7933aa400fd60980..79ef7bc7c9caf343c9cfbaf8a691aaca93340f0b 100644 (file)
@@ -53,9 +53,7 @@
 #include <sys/param.h>
 #endif
 
-#ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
-#endif
 
 #ifndef HAVE_TERMIOS_STRUCTURE
 #undef HAVE_SYS_TERMIOS_H
@@ -820,7 +818,7 @@ do_unix_time(os_emul_data *emul,
 }
 #endif
 
-#if !defined(HAVE_GETTIMEOFDAY) || !defined(HAVE_SYS_TIME_H)
+#if !defined(HAVE_GETTIMEOFDAY)
 #define do_unix_gettimeofday 0
 #else
 static void