about summary refs log tree commit diff
path: root/misc/sys/syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sys/syslog.h')
-rw-r--r--misc/sys/syslog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h
index 4ed57c2787..22da1ce3e9 100644
--- a/misc/sys/syslog.h
+++ b/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