#include <config.h>
#endif
-#include "xstrtol.h" /* Get definition for __P before use. */
-
#ifdef STDC_HEADERS
#include <stdlib.h>
-#else
-__unsigned long int __strtol __P ((const char *, char **, int base));
#endif
#ifdef HAVE_STRING_H
#endif
#if HAVE_LIMITS_H
-#include <limits.h>
+# include <limits.h>
#endif
#ifndef ULONG_MAX
-#define ULONG_MAX ((unsigned long) ~(unsigned long) 0)
+# define ULONG_MAX ((unsigned long) ~(unsigned long) 0)
#endif
#ifndef LONG_MAX
-#define LONG_MAX ((long int) (ULONG_MAX >> 1))
+# define LONG_MAX ((long int) (ULONG_MAX >> 1))
#endif
+#include "xstrtol.h"
+
#define BKM_SCALE(x, scale_factor, error_return) \
do \
{ \