diff options
| author | kristerw <kristerw@NetBSD.org> | 2007-08-02 21:49:09 +0000 |
|---|---|---|
| committer | kristerw <kristerw@NetBSD.org> | 2007-08-02 21:49:09 +0000 |
| commit | 1ef79ebc7d0ea131e8544fc99329bebf7d962541 (patch) | |
| tree | c15fc711808376b177f36a331214a1bca8e0ad3c /include/strings.h | |
| parent | 844b7f67f9066917fd497269d1d03a401cb3de02 (diff) | |
Do not include SSP files unless _FORTIFY_SOURCE > 0.
Diffstat (limited to 'include/strings.h')
| -rw-r--r-- | include/strings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/strings.h b/include/strings.h index d0cf08e9559..4c45512a9ff 100644 --- a/include/strings.h +++ b/include/strings.h @@ -1,4 +1,4 @@ -/* $NetBSD: strings.h,v 1.11 2007/05/30 21:14:37 tls Exp $ */ +/* $NetBSD: strings.h,v 1.12 2007/08/02 21:49:10 kristerw Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -68,5 +68,7 @@ __END_DECLS #include <string.h> #endif +#if _FORTIFY_SOURCE > 0 #include <ssp/strings.h> +#endif #endif /* !defined(_STRINGS_H_) */ |
