* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Include sys/types.h rather

than defining WORDS_BIGENDIAN manually.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-01-22 07:46:29 +01:00
parent 1c22ca9a69
commit e661c180ea
2 changed files with 6 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2013-01-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/lib/libgcrypt_wrap/cipher_wrap.h: Include sys/types.h rather
than defining WORDS_BIGENDIAN manually.
2013-01-21 Vladimir Serbinenko <phcoder@gmail.com> 2013-01-21 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/kernel.h (FOR_MODULES): Adjust to preserve alignment * include/grub/kernel.h (FOR_MODULES): Adjust to preserve alignment

View file

@ -25,11 +25,7 @@
#include <grub/dl.h> #include <grub/dl.h>
#include <grub/crypto.h> #include <grub/crypto.h>
#undef WORDS_BIGENDIAN #include <sys/types.h>
#ifdef GRUB_CPU_WORDS_BIGENDIAN
#define WORDS_BIGENDIAN 1
#endif
#undef __GNU_LIBRARY__ #undef __GNU_LIBRARY__
#define __GNU_LIBRARY__ 1 #define __GNU_LIBRARY__ 1