summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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
{