summaryrefslogtreecommitdiffstats
path: root/base/condition_variable.h
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 15:01:29 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-03 15:01:29 +0000
commitf539333976d799cf69562263b7a5b52d6cb0fc36 (patch)
treec96e836d839a4db08c5ad46b4f4f89b9e7850c87 /base/condition_variable.h
parent7152c349d7b4704d951e97af42d33cab1753ea7e (diff)
downloadchromium_src-f539333976d799cf69562263b7a5b52d6cb0fc36.zip
chromium_src-f539333976d799cf69562263b7a5b52d6cb0fc36.tar.gz
chromium_src-f539333976d799cf69562263b7a5b52d6cb0fc36.tar.bz2
Reduce header dependencies in base/
Also adds more explicit #includes for needed things. Review URL: http://codereview.chromium.org/118162 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17479 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/condition_variable.h')
-rw-r--r--base/condition_variable.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/base/condition_variable.h b/base/condition_variable.h
index 28f9352..430f57c 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 {