summaryrefslogtreecommitdiff
path: root/lib/xstrtol.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-07-04 17:15:08 +0000
committerJim Meyering <jim@meyering.net>1998-07-04 17:15:08 +0000
commitbca292d9e61e71030be617e3ddaaaa35d5d90b9f (patch)
treed07d1345d23f17a4d595660daf93522963f084fd /lib/xstrtol.c
parent6e3b675ea8ccf46687d5cf4dcd4ef6c4815fdd9d (diff)
downloadcoreutils-bca292d9e61e71030be617e3ddaaaa35d5d90b9f.tar.xz
Include stdio.h. Required on some systems when using assert.
From Kaveh Ghazi.
Diffstat (limited to 'lib/xstrtol.c')
-rw-r--r--lib/xstrtol.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/xstrtol.c b/lib/xstrtol.c
index befa2f7c9..0dc871eac 100644
--- a/lib/xstrtol.c
+++ b/lib/xstrtol.c
@@ -21,6 +21,8 @@
# include <config.h>
#endif
+#include <stdio.h>
+
#if STDC_HEADERS
# include <stdlib.h>
#endif