[! HAVE_DECL_STRTOUL]: Declare strtoul.
authorJim Meyering <jim@meyering.net>
Sat, 22 Jan 2000 22:41:02 +0000 (22:41 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 22 Jan 2000 22:41:02 +0000 (22:41 +0000)
[! HAVE_DECL_STRTOULL]: Declare strtoull.
Required for some AIX systems.  Reported by Christian Krackowizer.

src/sys2.h

index c9af9f0..a0096d5 100644 (file)
@@ -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