/* A more useful interface to strtol.
- Copyright (C) 1995, 1996, 1998-2000 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996, 1998-2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "xstrtol.h"
-#ifndef strtol
+#if !HAVE_DECL_STRTOL && !defined strtol
long int strtol ();
#endif
-#ifndef strtoul
+#if !HAVE_DECL_STRTOUL && !defined strtoul
unsigned long int strtoul ();
#endif
-#ifndef strtoumax
+#if !HAVE_DECL_STRTOIMAX && !defined strtoimax
+intmax_t strtoimax ();
+#endif
+
+#if !HAVE_DECL_STRTOUMAX && !defined strtoumax
uintmax_t strtoumax ();
#endif