diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 22:55:59 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2004-08-02 22:55:59 +0000 |
commit | a4e2377f602256dae6ec39c8bbf3971f35322882 (patch) | |
tree | 4f007238b77957d57f3cc87afd034cbe9a9fae54 /lib | |
parent | dc44675984362cf3d3eb4c74d357ee5528dc99dd (diff) | |
download | coreutils-a4e2377f602256dae6ec39c8bbf3971f35322882.tar.xz |
Just include xstrtol.h rather than rolling our own include pattern.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xstrtoumax.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/xstrtoumax.c b/lib/xstrtoumax.c index a8858bf6d..8518ef077 100644 --- a/lib/xstrtoumax.c +++ b/lib/xstrtoumax.c @@ -1,5 +1,5 @@ /* xstrtoumax.c -- A more useful interface to strtoumax. - Copyright (C) 1999, 2003 Free Software Foundation, Inc. + Copyright (C) 1999, 2003, 2004 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,11 +21,7 @@ # include <config.h> #endif -#if HAVE_INTTYPES_H -# include <inttypes.h> -#elif HAVE_STDINT_H -# include <stdint.h> -#endif +#include "xstrtol.h" #define __strtol strtoumax #define __strtol_t uintmax_t |