summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-08-07 22:55:31 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-08-07 22:55:31 +0000
commit3a837304928ac188d41ef09e488b1ee9b6910e36 (patch)
tree610aa8f6c93cb0680b1d306eedf3f594d19e2ebd /lib
parent6e1cee8a67d12b1d71be0d1791d5e028bb84f96b (diff)
downloadpaxutils-3a837304928ac188d41ef09e488b1ee9b6910e36.tar.gz
* lib/system.h: Include <inttypes.h> unconditionally.
The latest gnulib lets us do this. * m4/system.m4 (PU_SYSTEM): Don't check for inttypes.h. Don't require gl_AC_TYPE_UINTMAX_T. Require gl_INTTYPES_H, gl_STDINT_H.
Diffstat (limited to 'lib')
-rw-r--r--lib/system.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/system.h b/lib/system.h
index 0d7fd9a..7602263 100644
--- a/lib/system.h
+++ b/lib/system.h
@@ -421,16 +421,7 @@ char *getenv ();
# define MB_LEN_MAX 1
#endif
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-
-#if !HAVE_DECL_STRTOIMAX && !defined strtoimax
-intmax_t strtoimax ();
-#endif
-#if !HAVE_DECL_STRTOUMAX && !defined strtoumax
-uintmax_t strtoumax ();
-#endif
+#include <inttypes.h>
#include <intprops.h>