diff options
Diffstat (limited to 'include/gmock/gmock-generated-function-mockers.h.pump')
-rw-r--r-- | include/gmock/gmock-generated-function-mockers.h.pump | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gmock/gmock-generated-function-mockers.h.pump b/include/gmock/gmock-generated-function-mockers.h.pump index 59284457..b099676c 100644 --- a/include/gmock/gmock-generated-function-mockers.h.pump +++ b/include/gmock/gmock-generated-function-mockers.h.pump @@ -44,6 +44,10 @@ $var n = 10 $$ The maximum arity we support. #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 { |