From f5d8f0d0ca5dcad40f4d2b69babb92724c8bd315 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 20 Aug 2013 09:07:59 +0200 Subject: #define __EXTENSIONS__ to have Solaris expose ffs() from strings.h --- uid_db.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uid_db.c b/uid_db.c index 55bdfc7b..97b1c2ba 100644 --- a/uid_db.c +++ b/uid_db.c @@ -8,11 +8,14 @@ 6.3.17 release, including the OpenSSL exemption. */ +/* Have Solaris expose ffs() from strings.h: */ +#define __EXTENSIONS__ + /* includes */ #include #include #include -#include // ffs() lives here +#include // ffs() lives here - needs #define on Solaris. #include "xmalloc.h" #include "uid_db.h" -- cgit v1.2.3