diff --git a/payloads/libpayload/include/strings.h b/payloads/libpayload/include/strings.h index e83d6c1587..f8873b2357 100644 --- a/payloads/libpayload/include/strings.h +++ b/payloads/libpayload/include/strings.h @@ -29,8 +29,6 @@ #ifndef _STRINGS_H #define _STRINGS_H -#include - -static inline int ffs(int i) { return __ffs(i) + 1; } +#define ffs(x) __builtin_ffs(x) #endif