* configure.ac (USE_WIN32API): Define it.
[deliverable/binutils-gdb.git] / sim / ppc / emul_netbsd.c
index 18ca73befec62fb59c95d771b9faff59c0bac6e6..0069064d33f8c0588c77f5c79e5ca002d144ce15 100644 (file)
@@ -43,7 +43,6 @@
 #include <signal.h>
 #include <fcntl.h>
 #include <errno.h>
-#include <sys/errno.h>
 #include <sys/param.h>
 #include <sys/time.h>
 
@@ -224,7 +223,7 @@ write_timeval(unsigned_word addr,
   emul_write_buffer(&t, addr, sizeof(t), processor, cia);
 }
 
-
+#ifdef HAVE_GETTIMEOFDAY
 STATIC_INLINE_EMUL_NETBSD void
 write_timezone(unsigned_word addr,
               struct timezone tz,
@@ -235,7 +234,7 @@ write_timezone(unsigned_word addr,
   H2T(tz.tz_dsttime);
   emul_write_buffer(&tz, addr, sizeof(tz), processor, cia);
 }
-
+#endif
 
 #ifdef HAVE_GETDIRENTRIES
 STATIC_INLINE_EMUL_NETBSD void
This page took 0.11536 seconds and 4 git commands to generate.