diff options
Diffstat (limited to 'Build/source/texk/kpathsea/lib.h')
-rw-r--r-- | Build/source/texk/kpathsea/lib.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/lib.h b/Build/source/texk/kpathsea/lib.h index 3fa3d72f804..2aac2519b3d 100644 --- a/Build/source/texk/kpathsea/lib.h +++ b/Build/source/texk/kpathsea/lib.h @@ -24,6 +24,10 @@ #include <kpathsea/systypes.h> #include <kpathsea/types.h> +#ifdef __cplusplus +extern "C" { +#endif + /* Define common sorts of messages. */ /* This should be called only after a system call fails. Don't exit @@ -221,4 +225,8 @@ extern KPSEDLL address xcalloc (size_t nelem, size_t elsize); #define XTALLOC1(t) XTALLOC (1, t) #define XRETALLOC(addr, n, t) ((addr) = (t *) xrealloc (addr, (n) * sizeof(t))) +#ifdef __cplusplus +} +#endif + #endif /* not KPATHSEA_LIB_H */ |