diff options
| author | Pádraig Brady <P@draigBrady.com> | 2023-04-10 19:36:23 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2023-04-10 19:45:14 +0100 |
| commit | ae4dace2ec591fafd501badbcf75d51d2260cfbe (patch) | |
| tree | 6b7fbfa526ad8260b4c1b190eb07a60bf8e1e24c /src/crctab.c | |
| parent | tests: avoid non portable brace expansion (diff) | |
| download | coreutils-ae4dace2ec591fafd501badbcf75d51d2260cfbe.tar.gz coreutils-ae4dace2ec591fafd501badbcf75d51d2260cfbe.zip | |
build: fix _Noreturn compilation failure
Fix a build failure seen on gcc 3.4 on Solaris 10 at least.
* src/crctab.c: Ensure we include config.h for all compilation units.
This is now required for new _Noreturn usage in gnulib for stdint.h.
* src/cksum.c: Update generation code to ensure config.h included.
* cfg.mk: Remove crctab.c exclusion from the config.h check.
Diffstat (limited to '')
| -rw-r--r-- | src/crctab.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crctab.c b/src/crctab.c index 20a1e4127..fdf2fdf87 100644 --- a/src/crctab.c +++ b/src/crctab.c @@ -1,3 +1,4 @@ +#include <config.h> #include <stdint.h> uint_fast32_t const crctab[8][256] = { |
