summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 35bff81..312555c 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -9,6 +9,10 @@
9 9
10#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0 10#if defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0 && defined(__OPTIMIZE__) && __OPTIMIZE__ > 0
11 11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
12#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 16#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
13static inline __attribute__ ((always_inline)) 17static inline __attribute__ ((always_inline))
14char * 18char *
@@ -32,6 +36,10 @@ __fortify_realpath(const char *path, char *resolved)
32#define realpath(path, resolved) __fortify_realpath(path, resolved) 36#define realpath(path, resolved) __fortify_realpath(path, resolved)
33#endif 37#endif
34 38
39#ifdef __cplusplus
40}
41#endif
42
35#endif 43#endif
36 44
37#endif 45#endif