sysincludes.h 947 B

123456789101112131415161718192021222324252627282930
  1. /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
  2. * Use of this source code is governed by a BSD-style license that can be
  3. * found in the LICENSE file.
  4. */
  5. /* System includes for vboot reference library. This is the ONLY
  6. * place in firmware/ where system headers may be included via
  7. * #include <...>, so that there's only one place that needs to be
  8. * fixed up for platforms which don't have all the system includes.
  9. *
  10. * Files in firmware/stub may still include system headers, because
  11. * they're local implementations and will be ported to each system
  12. * anyway. */
  13. #ifndef VBOOT_REFERENCE_SYSINCLUDES_H_
  14. #define VBOOT_REFERENCE_SYSINCLUDES_H_
  15. #include <inttypes.h> /* For PRIu64 */
  16. #include <stddef.h>
  17. #include <stdint.h>
  18. #include <stdlib.h>
  19. #include <string.h>
  20. #if defined(HAVE_ENDIAN_H) && defined(HAVE_LITTLE_ENDIAN)
  21. #include <byteswap.h>
  22. #include <memory.h>
  23. #endif
  24. #endif /* VBOOT_REFERENCE_SYSINCLUDES_H_ */