summaryrefslogtreecommitdiff
path: root/lib/xstrtoimax.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:55:32 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2004-08-02 22:55:32 +0000
commitdc44675984362cf3d3eb4c74d357ee5528dc99dd (patch)
treecfcb368eafe45cc169fa330940f03a3f8a928cdc /lib/xstrtoimax.c
parent965de5df36290d0a6799903b703c77d43b3282c4 (diff)
downloadcoreutils-dc44675984362cf3d3eb4c74d357ee5528dc99dd.tar.xz
Just include xstrtol.h rather than rolling our own include pattern.
Diffstat (limited to 'lib/xstrtoimax.c')
-rw-r--r--lib/xstrtoimax.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/xstrtoimax.c b/lib/xstrtoimax.c
index 2ba136772..2cab528a0 100644
--- a/lib/xstrtoimax.c
+++ b/lib/xstrtoimax.c
@@ -1,5 +1,5 @@
/* xstrtoimax.c -- A more useful interface to strtoimax.
- Copyright (C) 2001, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2001, 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 strtoimax
#define __strtol_t intmax_t