From aebba9cd1d86d16fbd4420019fac40808ef79e6b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 22 Jan 2000 22:41:02 +0000 Subject: [PATCH] [! HAVE_DECL_STRTOUL]: Declare strtoul. [! HAVE_DECL_STRTOULL]: Declare strtoull. Required for some AIX systems. Reported by Christian Krackowizer. --- src/sys2.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/sys2.h b/src/sys2.h index c9af9f02ac..a0096d5204 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -295,6 +295,16 @@ char *getenv (); off_t lseek (); #endif +/* This is needed on some AIX systems. */ +#ifndef HAVE_DECL_STRTOUL +unsigned long strtoul (); +#endif + +/* This is needed on some AIX systems. */ +#ifndef HAVE_DECL_STRTOULL +unsigned long long strtoull (); +#endif + #include "xalloc.h" #if ! defined HAVE_MEMPCPY && ! defined mempcpy -- 2.47.3