mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Revert the previous commit and add a comment.
The previous commit broke crc32_tablegen.c. If the whole package is built without config.h (with defines set on the compiler command line) this should still work fine as long as these headers conform to C99 well enough.
This commit is contained in:
parent
4e4e9fbb7e
commit
fddd31175e
1 changed files with 10 additions and 7 deletions
|
@ -1,7 +1,10 @@
|
||||||
|
// If config.h isn't available, assume that the headers required by
|
||||||
|
// tuklib_common.h are available. This is required by crc32_tablegen.c.
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
# include "sysdefs.h"
|
# include "sysdefs.h"
|
||||||
|
#else
|
||||||
// sysdefs.h takes care of these.
|
# include <stddef.h>
|
||||||
// #include <stddef.h>
|
# include <stdbool.h>
|
||||||
// #include <stdbool.h>
|
# include <inttypes.h>
|
||||||
// #include <inttypes.h>
|
# include <limits.h>
|
||||||
// #include <limits.h>
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue