diff options
author | rofl0r <retnyg@gmx.net> | 2013-08-08 20:54:32 +0200 |
---|---|---|
committer | rofl0r <retnyg@gmx.net> | 2013-08-08 20:57:35 +0200 |
commit | e28c2ecae43468e2abf92957d3622dc830d90ada (patch) | |
tree | 443c7b7149685859be5ada002cd8bf553075dfba /include/sys | |
parent | 6a0aa82f5161431bc93e1e83065afc9b8c175fc4 (diff) | |
download | musl-e28c2ecae43468e2abf92957d3622dc830d90ada.tar.gz musl-e28c2ecae43468e2abf92957d3622dc830d90ada.tar.bz2 musl-e28c2ecae43468e2abf92957d3622dc830d90ada.tar.xz musl-e28c2ecae43468e2abf92957d3622dc830d90ada.zip |
sys/personality.h: add missing C++ compat
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/personality.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |