From 78f7e5da35751c2ce43bf45588b2c8998e0d11fe Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 29 Jul 2010 22:34:06 +0000 Subject: * clef/Makefile.in: Build and link programs by a C++ compiler. * clef/edible.c: Make it acceptable to a C++ compiler. * driver/utils.c: Likewise. * sman/sman.c: Likewise. --- src/include/openpty.H1 | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/include') diff --git a/src/include/openpty.H1 b/src/include/openpty.H1 index 95f9192b..e0658fc5 100644 --- a/src/include/openpty.H1 +++ b/src/include/openpty.H1 @@ -1 +1,9 @@ +#ifdef __cplusplus +extern "C" { +#endif + extern int ptyopen(int*, int*, char*); + +#ifdef __cplusplus +} +#endif -- cgit v1.2.3