summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gmock-all.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gmock-all.cc b/src/gmock-all.cc
index a14c397..c9223fc 100644
--- a/src/gmock-all.cc
+++ b/src/gmock-all.cc
@@ -35,6 +35,11 @@
// purpose is to allow a user to build Google Mock by compiling this
// file alone.
+// This line ensures that gmock.h can be compiled on its own, even
+// when it's fused.
+#include <gmock/gmock.h>
+
+// The following lines pull in the real gmock *.cc files.
#include "src/gmock-cardinalities.cc"
#include "src/gmock-internal-utils.cc"
#include "src/gmock-matchers.cc"