summaryrefslogtreecommitdiff
path: root/include/sys
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-08-08 20:54:32 +0200
committerrofl0r <retnyg@gmx.net>2013-08-08 20:57:35 +0200
commite28c2ecae43468e2abf92957d3622dc830d90ada (patch)
tree443c7b7149685859be5ada002cd8bf553075dfba /include/sys
parent6a0aa82f5161431bc93e1e83065afc9b8c175fc4 (diff)
downloadmusl-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.h7
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