aboutsummaryrefslogtreecommitdiff
path: root/socket/sys/socket.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 /socket/sys/socket.h
parentecf0ebfb04f6e31e3ba709521b6955d5f86ff724 (diff)
downloadglibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.zip
glibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.tar.gz
glibc-5ac3ea17df811a71fa64aff78ea1b900facd3364.tar.bz2
Fix attributes for fortify functions.
Diffstat (limited to 'socket/sys/socket.h')
-rw-r--r--socket/sys/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 556ae90..787c2b9 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -246,7 +246,7 @@ extern int isfdtype (int __fd, int __fdtype) __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/socket2.h>
#endif