From b7143de618efeefec08fd0bd37d6aabc714aa700 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 8 Oct 2010 17:01:29 -0400 Subject: [PATCH] shm: Add C++ protection Add c++ protection in the relevant places --- sys/shm/shmalloc.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/shm/shmalloc.h b/sys/shm/shmalloc.h index ab244267fb..d5aa581ef2 100644 --- a/sys/shm/shmalloc.h +++ b/sys/shm/shmalloc.h @@ -46,6 +46,10 @@ #endif +#ifdef __cplusplus +extern "C" { +#endif + typedef struct _ShmAllocSpace ShmAllocSpace; typedef struct _ShmAllocBlock ShmAllocBlock; -- 2.34.1