aboutsummaryrefslogtreecommitdiffstats
path: root/uid_db.c
diff options
context:
space:
mode:
Diffstat (limited to 'uid_db.c')
-rw-r--r--uid_db.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/uid_db.c b/uid_db.c
index fdc35b73..ef36efbe 100644
--- a/uid_db.c
+++ b/uid_db.c
@@ -8,9 +8,7 @@
6.3.17 release, including the OpenSSL exemption.
*/
-/* Have Solaris expose ffs() from strings.h: */
-#define __EXTENSIONS__
-#define _XOPEN_SOURCE 700
+#include "fetchmail.h"
/* includes */
#include <stdio.h>
@@ -18,9 +16,10 @@
#include <string.h>
#include <strings.h> /* ffs() lives here - needs #define on Solaris. */
-#include "xmalloc.h"
#include "uid_db.h"
+#include "xmalloc.h"
+
/* constants */
enum {
MIN_RECORDS = 16 /* arbitrary */