From 8fa546b053dd13cc777bc949e02096ec9790d8da Mon Sep 17 00:00:00 2001 From: scottmk Date: Thu, 8 Jan 2009 05:38:30 +0000 Subject: [PATCH 1/1] Prepare for #inclusion in C++ programs git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1579 9efc2488-bf62-4759-914b-345cdb29e865 --- include/opensrf/utils.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/opensrf/utils.h b/include/opensrf/utils.h index ae2a7ee..912698d 100644 --- a/include/opensrf/utils.h +++ b/include/opensrf/utils.h @@ -29,6 +29,10 @@ GNU General Public License for more details. #include //#include +#ifdef __cplusplus +extern "C" { +#endif + #include "md5.h" #define OSRF_MALLOC(ptr, size) \ @@ -277,4 +281,8 @@ char* md5sum( const char* text, ... ); */ int osrfUtilsCheckFileDescriptor( int fd ); +#ifdef __cplusplus +} +#endif + #endif -- 2.43.2