Use Autoconf-suggested pattern for inttypes and stdint.

Include unistd.h, for lseek.
This commit is contained in:
Paul Eggert committed 2004-08-02 18:44:11 +00:00
1 parent 11e8886958
commit 97f2714e35
1 file changed
+6 -4
+6 -4
View File
@@ -23,10 +23,12 @@
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_STDINT_H
# include <stdint.h>
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#ifndef UINTMAX_MAX
# define UINTMAX_MAX ((uintmax_t) -1)