aboutsummaryrefslogtreecommitdiff
path: root/compat/function-attributes.h
diff options
context:
space:
mode:
authorMichael J Gruber <git@grubix.eu>2023-08-26 16:53:12 +0200
committerDavid Bremner <david@tethera.net>2023-08-27 19:39:23 -0300
commita84dc2f7e64e70bd9696efe933671b2cbdfcd329 (patch)
tree938cdcc51b3aacef0d4819feacf4d31c73c773d3 /compat/function-attributes.h
parent9a1126241d6c4a12610b5de61044606352ca4712 (diff)
compat: probe for strcasestr more thoroughly
Depending on compiler (gcc, g++, clang) and standard options (c99, c11), string.h may or may not include strings.h, leading to possibly missing or conflicting declarations of strcasestr. Include both so that both detection and compilation phases use the same (possibly optimised) implementations. Suggested-by: Thomas Schneider <qsx@chaotikum.eu> Suggested-by: Florian Weimer <fweimer@redhat.com> Suggested-by: Tomi Ollila <tomi.ollila@iki.fi>
Diffstat (limited to 'compat/function-attributes.h')
0 files changed, 0 insertions, 0 deletions