summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-22 22:41:02 +0000
committerJim Meyering <jim@meyering.net>2000-01-22 22:41:02 +0000
commitaebba9cd1d86d16fbd4420019fac40808ef79e6b (patch)
treebf198e23c6ff53794109cf4db46b6c9d0e923fe6
parent42e962a284df165ddf343ce3d44d1dac51b6e56f (diff)
downloadcoreutils-aebba9cd1d86d16fbd4420019fac40808ef79e6b.tar.xz
[! HAVE_DECL_STRTOUL]: Declare strtoul.
[! HAVE_DECL_STRTOULL]: Declare strtoull. Required for some AIX systems. Reported by Christian Krackowizer.
-rw-r--r--src/sys2.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index c9af9f02a..a0096d520 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