summaryrefslogtreecommitdiff
path: root/lib/crc.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2005-10-21 12:33:03 +0000
committerSimon Josefsson <simon@josefsson.org>2005-10-21 12:33:03 +0000
commit81ce966eab35ad8dc67c13d689ebef28e6813f28 (patch)
tree1e6233d52b2579c603a2a66731c762ea624eb1dc /lib/crc.h
parent8de557e31178699dd6e839850056f0653cdfba89 (diff)
downloadgnulib-81ce966eab35ad8dc67c13d689ebef28e6813f28.tar.gz
* crc.h: Include stdint.h directly, suggested by Bruno Haible
<bruno@clisp.org>.
Diffstat (limited to 'lib/crc.h')
-rw-r--r--lib/crc.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/crc.h b/lib/crc.h
index ee13dafeed..aaa728eb63 100644
--- a/lib/crc.h
+++ b/lib/crc.h
@@ -20,13 +20,7 @@
#ifndef CRC_H
# define CRC_H 1
-#include <stddef.h>
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#if HAVE_STDINT_H
-# include <stdint.h>
-#endif
+#include <stdint.h>
/* Compute CRC-32 value of LEN bytes long BUF, and return it. */
extern uint32_t crc32 (const char *buf, size_t len);