summaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2012-04-29 15:34:20 +0200
committerMarek Polacek <polacek@redhat.com>2012-04-29 15:34:20 +0200
commit5ac3ea17df811a71fa64aff78ea1b900facd3364 (patch)
tree47a842e0be1ca4d8c98ecc86d18330d61047560a /posix/unistd.h
parentecf0ebfb04f6e31e3ba709521b6955d5f86ff724 (diff)
Fix attributes for fortify functions.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index 1f4d64516e..9839761b52 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1165,7 +1165,7 @@ extern char *ctermid (char *__s) __THROW;
/* Define some macros helping to catch buffer overflows. */
-#if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
+#if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
# include <bits/unistd.h>
#endif