Merge pull request #1044 from islmit01/im/fix_includes

Fix order of #includes
This commit is contained in:
davidcunado-arm 2017-08-03 10:30:04 +01:00 committed by GitHub
commit 2dfab27a75
3 changed files with 4 additions and 3 deletions

View file

@ -19,6 +19,7 @@
#include <unistd.h> #include <unistd.h>
#include <openssl/sha.h> #include <openssl/sha.h>
#include <firmware_image_package.h> #include <firmware_image_package.h>
#include "fiptool.h" #include "fiptool.h"

View file

@ -7,11 +7,10 @@
#ifndef __FIPTOOL_H__ #ifndef __FIPTOOL_H__
#define __FIPTOOL_H__ #define __FIPTOOL_H__
#include <firmware_image_package.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include <firmware_image_package.h>
#include <uuid.h> #include <uuid.h>
#define NELEM(x) (sizeof (x) / sizeof *(x)) #define NELEM(x) (sizeof (x) / sizeof *(x))

View file

@ -4,9 +4,10 @@
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
#include <firmware_image_package.h>
#include <stddef.h> #include <stddef.h>
#include <firmware_image_package.h>
#include "tbbr_config.h" #include "tbbr_config.h"
/* The images used depends on the platform. */ /* The images used depends on the platform. */