From c3e52ea6ca3178b7ecab4b389a9ba9269662b48f Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 15 Mar 2006 17:05:25 +0000 Subject: Further cleanups to compile with C++ compiler. svn path=/branches/BRANCH_6-3/; revision=4744 --- opie.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'opie.c') diff --git a/opie.c b/opie.c index b7687d94..395de2dd 100644 --- a/opie.c +++ b/opie.c @@ -18,7 +18,13 @@ #include "md5.h" #ifdef OPIE_ENABLE +#ifdef __cplusplus +extern "C" { +#endif #include +#ifdef __cplusplus +} +#endif int do_otp(int sock, char *command, struct query *ctl) { -- cgit v1.2.3