From: rofl0r Date: Thu, 8 Aug 2013 18:54:32 +0000 (+0200) Subject: sys/personality.h: add missing C++ compat X-Git-Tag: v0.9.13~76 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e28c2ecae43468e2abf92957d3622dc830d90ada;p=oweals%2Fmusl.git sys/personality.h: add missing C++ compat --- diff --git a/include/sys/personality.h b/include/sys/personality.h index 68eb00ca..31d43dfe 100644 --- a/include/sys/personality.h +++ b/include/sys/personality.h @@ -1,6 +1,10 @@ #ifndef _PERSONALITY_H #define _PERSONALITY_H +#ifdef __cplusplus +extern "C" { +#endif + #define ADDR_NO_RANDOMIZE 0x0040000 #define MMAP_PAGE_ZERO 0x0100000 #define ADDR_COMPAT_LAYOUT 0x0200000 @@ -36,4 +40,7 @@ int personality(unsigned long); +#ifdef __cplusplus +} +#endif #endif