From: Jim Meyering Date: Sat, 22 Jan 2000 22:41:02 +0000 (+0000) Subject: [! HAVE_DECL_STRTOUL]: Declare strtoul. X-Git-Tag: FILEUTILS-4_0p~94 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aebba9cd1d86d16fbd4420019fac40808ef79e6b;p=thirdparty%2Fcoreutils.git [! HAVE_DECL_STRTOUL]: Declare strtoul. [! HAVE_DECL_STRTOULL]: Declare strtoull. Required for some AIX systems. Reported by Christian Krackowizer. --- 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