aboutsummaryrefslogtreecommitdiff
path: root/c++tools/resolver.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++tools/resolver.h')
-rw-r--r--c++tools/resolver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/c++tools/resolver.h b/c++tools/resolver.h
index 1933912..b2f4381 100644
--- a/c++tools/resolver.h
+++ b/c++tools/resolver.h
@@ -1,5 +1,5 @@
/* C++ modules. Experimental! -*- c++ -*-
- Copyright (C) 2017-2020 Free Software Foundation, Inc.
+ Copyright (C) 2017-2021 Free Software Foundation, Inc.
Written by Nathan Sidwell <nathan@acm.org> while at FaceBook
This file is part of GCC.
@@ -24,8 +24,10 @@ along with GCC; see the file COPYING3. If not see
// Mapper interface for client and server bits
#include "cody.hh"
// C++
+#if !IN_GCC
#include <string>
#include <map>
+#endif
// This is a GCC class, so GCC coding conventions on new bits.
class module_resolver : public Cody::Resolver