Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(937)

Unified Diff: snapshot/process_snapshot.h

Issue 883773005: win: Work towards getting 'minidump' to compile (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@crash-report-db-win
Patch Set: . Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 {

Powered by Google App Engine
This is Rietveld 408576698