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

Unified Diff: base/condition_variable.h

Issue 118162: Reduce header dependencies in base/ (Closed)
Patch Set: Created 11 years, 7 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: base/condition_variable.h
diff --git a/base/condition_variable.h b/base/condition_variable.h
index 28f9352b42aa7b68e50ed7f55501aa7d963a8459..430f57c39c1219e2fab374bc35a522f4995e26e2 100644
--- a/base/condition_variable.h
+++ b/base/condition_variable.h
@@ -65,6 +65,15 @@
#ifndef BASE_CONDITION_VARIABLE_H_
#define BASE_CONDITION_VARIABLE_H_
+#include "build/build_config.h"
+
+#if defined(OS_WIN)
+#include <windows.h>
+#elif defined(OS_POSIX)
+#include <pthread.h>
+#endif
+
+#include "base/basictypes.h"
#include "base/lock.h"
namespace base {

Powered by Google App Engine
This is Rietveld 408576698