OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cfe215
)
Since gettimeofday() is called when not on Windows even if CHUUKEI is not set, make...
author
Eric Branlund
<ebranlund@fastmail.com>
Sat, 19 Sep 2020 01:00:24 +0000
(18:00 -0700)
committer
Eric Branlund
<ebranlund@fastmail.com>
Sat, 19 Sep 2020 01:00:24 +0000
(18:00 -0700)
src/chuukei.c
patch
|
blob
|
history
diff --git
a/src/chuukei.c
b/src/chuukei.c
index
840e038
..
885d166
100644
(file)
--- a/
src/chuukei.c
+++ b/
src/chuukei.c
@@
-13,6
+13,10
@@
#include <ctype.h>
#ifdef WINDOWS
#include <windows.h>
+#else
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#endif
#ifdef CHUUKEI
@@
-26,7
+30,6
@@
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
-#include <sys/time.h>
#include <arpa/inet.h>
#include <setjmp.h>