aboutsummaryrefslogtreecommitdiffstats
path: root/include/gmock/gmock-generated-function-mockers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gmock/gmock-generated-function-mockers.h')
-rw-r--r--include/gmock/gmock-generated-function-mockers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gmock/gmock-generated-function-mockers.h b/include/gmock/gmock-generated-function-mockers.h
index ce7341d4..b98b4716 100644
--- a/include/gmock/gmock-generated-function-mockers.h
+++ b/include/gmock/gmock-generated-function-mockers.h
@@ -43,6 +43,10 @@
#include "gmock/gmock-spec-builders.h"
#include "gmock/internal/gmock-internal-utils.h"
+#if GTEST_HAS_STD_FUNCTION_
+# include <functional>
+#endif
+
namespace testing {
namespace internal {