Index: snapshot/process_snapshot.h |
diff --git a/snapshot/process_snapshot.h b/snapshot/process_snapshot.h |
index 3fe317fa1f5517b082ccdabeb0a819833412d429..be21bcbba29e59dc580b9e54e08574521bee3050 100644 |
--- a/snapshot/process_snapshot.h |
+++ b/snapshot/process_snapshot.h |
@@ -15,9 +15,17 @@ |
#ifndef CRASHPAD_SNAPSHOT_PROCESS_SNAPSHOT_H_ |
#define CRASHPAD_SNAPSHOT_PROCESS_SNAPSHOT_H_ |
-#include <sys/time.h> |
+#include "build/build_config.h" |
+ |
#include <sys/types.h> |
+#if defined(OS_WIN) |
+#include <windows.h> |
+#include <winsock2.h> |
Mark Mentovai
2015/02/02 22:10:28
What for, timeval?
(Just for clarification. I don
scottmg
2015/02/02 22:31:45
Right. It would probably be reasonable to add a co
Mark Mentovai
2015/02/02 22:57:21
scottmg wrote:
|
+#else |
+#include <sys/time.h> |
+#endif |
+ |
#include <vector> |
namespace crashpad { |