summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/win32lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/win32lib.h')
-rw-r--r--Build/source/texk/kpathsea/win32lib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/win32lib.h b/Build/source/texk/kpathsea/win32lib.h
index 168d99a12c5..d7e51f054a7 100644
--- a/Build/source/texk/kpathsea/win32lib.h
+++ b/Build/source/texk/kpathsea/win32lib.h
@@ -245,6 +245,10 @@
#undef min
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern KPSEDLL FILE *win32_popen (const char *cmd, const char *mode);
extern KPSEDLL int win32_pclose (FILE *f);
extern KPSEDLL struct passwd *kpathsea_getpwnam (kpathsea kpse, char *name);
@@ -270,4 +274,8 @@ extern KPSEDLL char *get_home_directory (void);
#define xfseeko xfseek64
#define xftello xftell64
+#ifdef __cplusplus
+}
+#endif
+
#endif /* not KPATHSEA_WIN32LIB_H */