aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/mkdeps.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcpp/include/mkdeps.h')
-rw-r--r--libcpp/include/mkdeps.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcpp/include/mkdeps.h b/libcpp/include/mkdeps.h
index 50bcee4..def7b56 100644
--- a/libcpp/include/mkdeps.h
+++ b/libcpp/include/mkdeps.h
@@ -23,6 +23,10 @@ along with this program; see the file COPYING3. If not see
#ifndef LIBCPP_MKDEPS_H
#define LIBCPP_MKDEPS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* This is the data structure used by all the functions in mkdeps.c.
It's quite straightforward, but should be treated as opaque. */
@@ -76,4 +80,8 @@ extern int deps_restore (struct deps *, FILE *, const char *);
automatic dependency schemes. */
extern void deps_phony_targets (const struct deps *, FILE *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ! LIBCPP_MKDEPS_H */