From 68fe16dd327c895c08b9ee443b234c49c13b36e9 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 30 Oct 2017 13:59:59 +0100 Subject: ffsl, ffsll: Declare under __USE_MISC, not just __USE_GNU Recent BSDs declare these functions, too. --- string/strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string') diff --git a/string/strings.h b/string/strings.h index 630b3ad..27508e3 100644 --- a/string/strings.h +++ b/string/strings.h @@ -106,7 +106,7 @@ extern int ffs (int __i) __THROW __attribute_const__; /* The following two functions are non-standard but necessary for non-32 bit platforms. */ -# ifdef __USE_GNU +# ifdef __USE_MISC extern int ffsl (long int __l) __THROW __attribute_const__; __extension__ extern int ffsll (long long int __ll) __THROW __attribute_const__; -- cgit v1.1