summaryrefslogtreecommitdiff
path: root/libc/misc/sys/syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/sys/syslog.h')
-rw-r--r--libc/misc/sys/syslog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/sys/syslog.h b/libc/misc/sys/syslog.h
index 4ed57c278..22da1ce3e 100644
--- a/libc/misc/sys/syslog.h
+++ b/libc/misc/sys/syslog.h
@@ -203,7 +203,7 @@ extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
/* Define some macros helping to catch buffer overflows. */
-#if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus
+#if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
# include <bits/syslog.h>
#endif
#ifdef __LDBL_COMPAT