diff options
author | Jim Meyering <jim@meyering.net> | 2006-10-14 12:04:31 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-10-14 12:04:31 +0000 |
commit | f3fbb64189991ad3ad1a9c5e5ff9a4b3b8609af9 (patch) | |
tree | 9298a7a73b03a529465024d40d79005e26cc0e3c /src | |
parent | 32cfc1ffecf6e3a81cc3afa0eabdd8d90e16087b (diff) | |
download | coreutils-f3fbb64189991ad3ad1a9c5e5ff9a4b3b8609af9.tar.xz |
* src/cksum.c (uint_fast32_t): Don't define.
Instead, include <stdint.h>.
Diffstat (limited to 'src')
-rw-r--r-- | src/cksum.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cksum.c b/src/cksum.c index 0dce68cca..d93877fa5 100644 --- a/src/cksum.c +++ b/src/cksum.c @@ -1,5 +1,5 @@ /* cksum -- calculate and print POSIX checksums and sizes of files - Copyright (C) 92, 1995-2005 Free Software Foundation, Inc. + Copyright (C) 92, 1995-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -42,12 +42,9 @@ #include <stdio.h> #include <sys/types.h> +#include <stdint.h> #include "system.h" -#if !defined UINT_FAST32_MAX && !defined uint_fast32_t -# define uint_fast32_t unsigned int -#endif - #ifdef CRCTAB # define BIT(x) ((uint_fast32_t) 1 << (x)) |