OSDN Git Service
(root)
/
hengband
/
hengband.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984b5d6
)
Pick up prototype for gettimeofday() for non-Windows systems.
author
Eric Branlund
<ebranlund@fastmail.com>
Wed, 7 Oct 2020 15:44:24 +0000
(08:44 -0700)
committer
Eric Branlund
<ebranlund@fastmail.com>
Wed, 7 Oct 2020 15:44:24 +0000
(08:44 -0700)
src/io/record-play-movie.c
patch
|
blob
|
history
diff --git
a/src/io/record-play-movie.c
b/src/io/record-play-movie.c
index
73e425b
..
f216416
100644
(file)
--- a/
src/io/record-play-movie.c
+++ b/
src/io/record-play-movie.c
@@
-20,6
+20,11
@@
#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