]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Include <stdint.h> as an alternative to <inttypes.h>.
authorJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 22:30:03 +0000 (22:30 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 6 Jun 2003 22:30:03 +0000 (22:30 +0000)
lib/xstrtoimax.c
lib/xstrtoumax.c

index 8937862c23117a24f2308f473e7c7da8ff0ac3a1..f60a8bbabe75d991e13565c4eccb4305dfbe41e0 100644 (file)
@@ -23,6 +23,8 @@
 
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
+#elif HAVE_STDINT_H
+# include <stdint.h>
 #endif
 
 #define __strtol strtoimax
index 04d7cf98ae4c8adf5c601545f0fea38601362f71..8e1c5b80782ef32319618f619cf8b89785f5f717 100644 (file)
@@ -23,6 +23,8 @@
 
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
+#elif HAVE_STDINT_H
+# include <stdint.h>
 #endif
 
 #define __strtol strtoumax