diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-11-06 22:49:54 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-11-06 22:49:54 +0000 |
commit | 0e6f42e86bc904058928ea4bab27b17e25198a13 (patch) | |
tree | 3619fc0700aba6023f02c2d73e0d1aee6510e2d3 /lib | |
parent | c0616895112783bbb7420f8557309933066d77b6 (diff) | |
download | paxutils-0e6f42e86bc904058928ea4bab27b17e25198a13.tar.gz |
* lib/system.h (strtoimax, strtoumax): Declare if the system
headers don't.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/system.h b/lib/system.h index f9e399e..be2c2eb 100644 --- a/lib/system.h +++ b/lib/system.h @@ -453,6 +453,13 @@ char *getenv (); # include <inttypes.h> #endif +#if !HAVE_DECL_STRTOIMAX && !defined strtoimax +intmax_t strtoimax (); +#endif +#if !HAVE_DECL_STRTOUMAX && !defined strtoumax +uintmax_t strtoumax (); +#endif + #include <intprops.h> #define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t) |