From: Simon Glass Date: Sat, 18 May 2019 11:59:39 -0600 Subject: [U-Boot] [PATCH 02/17] Add an empty stdint.h file In-Reply-To: <20190518175954.262021-1-sjg@chromium.org> References: <20190518175954.262021-1-sjg@chromium.org> Message-ID: <20190518175954.262021-3-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Some libraries build by U-Boot may include stdint.h. This is not used by U-Boot itself and causes conflicts with the types defined in linux/types.h. To work around this, add an empty file with this name so that it will be used in preference to the compiler version. Signed-off-by: Simon Glass --- include/stdint.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 include/stdint.h diff --git a/include/stdint.h b/include/stdint.h new file mode 100644 index 00000000000..2e126d14bd9 --- /dev/null +++ b/include/stdint.h @@ -0,0 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Dummy file to allow libraries linked with U-Boot to include stdint.h without + * getting the system version. + * + * U-Boot uses linux types (linux/types.h) so does not make use of stdint.h + */ -- 2.21.0.1020.gf2820cf01a-goog