summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/magstep.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/magstep.h')
-rw-r--r--Build/source/texk/kpathsea/magstep.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/magstep.h b/Build/source/texk/kpathsea/magstep.h
index d7ccc70e3bf..eae08f6a35d 100644
--- a/Build/source/texk/kpathsea/magstep.h
+++ b/Build/source/texk/kpathsea/magstep.h
@@ -22,6 +22,10 @@
#include <kpathsea/c-proto.h>
#include <kpathsea/types.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* If DPI is close enough to some magstep of BDPI, return the true dpi
value, and the magstep found (or zero) in M_RET (if
non-null). ``Close enough'' means within one pixel.
@@ -48,4 +52,8 @@ extern KPSEDLL unsigned kpse_magstep_fix (unsigned dpi, unsigned bdpi,
int *m_ret);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_MAGSTEP_H */