1 /* Copyright (c) 2014 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 6 /* 7 * System includes for vboot reference library. With few exceptions, this is 8 * the ONLY place in firmware/ where system headers may be included via 9 * #include <...>, so that there's only one place that needs to be fixed up for 10 * platforms which don't have all the system includes. 11 */ 12 13 #ifndef VBOOT_REFERENCE_2_SYSINCLUDES_H_ 14 #define VBOOT_REFERENCE_2_SYSINCLUDES_H_ 15 16 #include <inttypes.h> /* For PRIu64 */ 17 #include <stddef.h> 18 #include <stdint.h> 19 #include <stdlib.h> 20 #include <string.h> 21 22 #if defined(HAVE_ENDIAN_H) && defined(HAVE_LITTLE_ENDIAN) 23 #include <byteswap.h> 24 #include <memory.h> 25 #endif 26 27 #endif /* VBOOT_REFERENCE_2_SYSINCLUDES_H_ */ 28