aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-07-29 22:34:06 +0000
committerdos-reis <gdr@axiomatics.org>2010-07-29 22:34:06 +0000
commit78f7e5da35751c2ce43bf45588b2c8998e0d11fe (patch)
treef93303c0d3488401d847fab55f322a9cbaccbcca /src/include
parent1b7a0340896d0fb7b2d99ba9c1358cac9f7b03d3 (diff)
downloadopen-axiom-78f7e5da35751c2ce43bf45588b2c8998e0d11fe.tar.gz
* 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.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/openpty.H18
1 files changed, 8 insertions, 0 deletions
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