Include base/check.h for CHECK macro for Chromium OS.

Include used headers explicitly.

Bug: 186486897
Test: emerge-nocturne puffin

Change-Id: I26cc6675f7885657a0e2d6ed479add4fde810fef
diff --git a/src/logging.h b/src/logging.h
index b48fcd5..8b80153 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -5,7 +5,10 @@
 #ifndef SRC_LOGGING_H_
 #define SRC_LOGGING_H_
 
-#ifdef USE_BRILLO
+#if defined(BASE_VER) && BASE_VER >= 822064
+#include "base/check.h"  // CHECK-related macros are defined in base/check.h on Chrome OS.
+#include "base/logging.h"
+#elif USE_BRILLO
 #include "base/logging.h"
 #else
 #include "glog/logging.h"