summaryrefslogtreecommitdiff
path: root/lib/xstrtoumax.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-01-06 12:38:36 +0000
committerBruno Haible <bruno@clisp.org>2003-01-06 12:38:36 +0000
commit511a4370313100c793b53bed34c101909016ba32 (patch)
treef905a38c94f5b6beadc236ba247e16089541fc50 /lib/xstrtoumax.c
parent42fb0cb032b3fb6cf82c53eb94846a9caf3a8a8d (diff)
downloadgnulib-511a4370313100c793b53bed34c101909016ba32.tar.gz
More consistent inttypes.h / stdint.h handling.
Diffstat (limited to 'lib/xstrtoumax.c')
-rw-r--r--lib/xstrtoumax.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/xstrtoumax.c b/lib/xstrtoumax.c
index 04d7cf98ae..3237f85334 100644
--- a/lib/xstrtoumax.c
+++ b/lib/xstrtoumax.c
@@ -1,5 +1,5 @@
/* xstrtoumax.c -- A more useful interface to strtoumax.
- Copyright 1999 Free Software Foundation, Inc.
+ Copyright 1999, 2002 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
@@ -23,6 +23,10 @@
#if HAVE_INTTYPES_H
# include <inttypes.h>
+#else
+# if HAVE_STDINT_H
+# include <stdint.h>
+# endif
#endif
#define __strtol strtoumax