summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorkristerw <kristerw@NetBSD.org>2007-08-02 21:49:09 +0000
committerkristerw <kristerw@NetBSD.org>2007-08-02 21:49:09 +0000
commit1ef79ebc7d0ea131e8544fc99329bebf7d962541 (patch)
treec15fc711808376b177f36a331214a1bca8e0ad3c /include/stdio.h
parent844b7f67f9066917fd497269d1d03a401cb3de02 (diff)
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h
index e1babd1725f..9785a248d9b 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.69 2007/05/30 21:14:37 tls Exp $ */
+/* $NetBSD: stdio.h,v 1.70 2007/08/02 21:49:09 kristerw Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -476,6 +476,8 @@ static __inline int __sputc(int _c, FILE *_p) {
#define putchar_unlocked(x) putc_unlocked(x, stdout)
#endif /* _POSIX_C_SOURCE >= 199506 || _XOPEN_SOURCE >= 500 || _REENTRANT... */
+#if _FORTIFY_SOURCE > 0
#include <ssp/stdio.h>
+#endif
#endif /* _STDIO_H_ */