Fix compilation with older compilers.
* grub-core/Makefile.core.def (mpi): Add mpi-inline.c. * grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Remove redundant declarations. * grub-core/lib/posix_wrap/string.h: Include sys/types.h. * grub-core/lib/posix_wrap/sys/types.h: Add common types. * grub-core/lib/xzembed/xz_dec_lzma2.c (dict_put): Replace byte identifier with b. * grub-core/lib/xzembed/xz_dec_stream.c (dec_vli): Likewise. * include/grub/crypto.h: Add type defines. * util/import_gcrypth.sed: Remove duplicate type defines.
This commit is contained in:
parent
adcc602041
commit
4a9950ecb0
9 changed files with 39 additions and 17 deletions
|
@ -44,6 +44,12 @@ typedef grub_int64_t int64_t;
|
|||
|
||||
#define HAVE_U64_TYPEDEF 1
|
||||
typedef grub_uint64_t u64;
|
||||
#define HAVE_U32_TYPEDEF 1
|
||||
typedef grub_uint32_t u32;
|
||||
#define HAVE_U16_TYPEDEF 1
|
||||
typedef grub_uint16_t u16;
|
||||
#define HAVE_BYTE_TYPEDEF 1
|
||||
typedef grub_uint8_t byte;
|
||||
|
||||
#define SIZEOF_UNSIGNED_LONG GRUB_CPU_SIZEOF_LONG
|
||||
#define SIZEOF_UNSIGNED_INT 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue