OSDN Git Service

Pick up prototype for gettimeofday() for non-Windows systems.
authorEric Branlund <ebranlund@fastmail.com>
Wed, 7 Oct 2020 15:44:24 +0000 (08:44 -0700)
committerEric Branlund <ebranlund@fastmail.com>
Wed, 7 Oct 2020 15:44:24 +0000 (08:44 -0700)
src/io/record-play-movie.c

index 73e425b..f216416 100644 (file)
 
 #ifdef WINDOWS
 #include <windows.h>
+#else
+#include "system/h-basic.h"
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
 #endif
 
 #define RINGBUF_SIZE 1024 * 1024