extern "C" {
#endif
+#include <features.h>
#define __NEED_size_t
#define __NEED_locale_t
char *rindex (const char *, int);
#endif
+#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
int ffs (int);
+int ffsl (long);
+int ffsll (long long);
+#endif
int strcasecmp (const char *, const char *);
int strncasecmp (const char *, const char *, size_t);