summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-29 03:32:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-29 03:32:14 +0300
commit2c30c70d8cd2adff258d2f5d7470579e12122ace (patch)
tree9506af2016c758422826fa35012b5e55c854cbfc
parentc2bc6bcf77d737ba52ecfb8f04baae2fb541a542 (diff)
downloadmanaplus-2c30c70d8cd2adff258d2f5d7470579e12122ace.tar.gz
manaplus-2c30c70d8cd2adff258d2f5d7470579e12122ace.tar.bz2
manaplus-2c30c70d8cd2adff258d2f5d7470579e12122ace.tar.xz
manaplus-2c30c70d8cd2adff258d2f5d7470579e12122ace.zip
Done include sys/time.h in chatrecv.h if it already included.
-rw-r--r--src/net/ea/chatrecv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/chatrecv.h b/src/net/ea/chatrecv.h
index c7e1c3aca..6ffd5b389 100644
--- a/src/net/ea/chatrecv.h
+++ b/src/net/ea/chatrecv.h
@@ -33,7 +33,9 @@
#include <string>
#include <queue>
-#include <time.h>
+#ifndef __time_t_defined
+#include <sys/time.h>
+#endif // __time_t_defined
namespace Net
{