From c348627fe5f8b828a7ac4396d3dbc847bcb75c3a Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 9 Sep 2019 21:55:59 +0200 Subject: [PATCH] sunfish: gpt-utils: Fix includes for generated_kernel_headers This is a squash of the following: Author: LuK1337 Date: Sun Sep 27 16:12:10 2020 +0200 sunfish: gpt-utils: Drop unnecessary include * When using generated_kernel_headers including stdio.h will cause errors due to redefined macros. Change-Id: I2f753a64f760b636be1325873e17697466fbf33d Author: LuK1337 Date: Mon Sep 9 22:38:02 2019 +0200 sunfish: gpt-utils: Drop unnecessary include * When using generated_kernel_headers including asm/byteorder.h will cause a warning due to unused static functions. Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0 Change-Id: Ia1f608778b5b37fec770abbf185c5e313cd5ba16 --- gpt-utils/gpt-utils.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/gpt-utils/gpt-utils.cpp b/gpt-utils/gpt-utils.cpp index 159f9ddd..9f7ea512 100644 --- a/gpt-utils/gpt-utils.cpp +++ b/gpt-utils/gpt-utils.cpp @@ -32,7 +32,6 @@ /****************************************************************************** * INCLUDE SECTION ******************************************************************************/ -#include #include #include #include @@ -46,7 +45,6 @@ #include #include #include -#include #include #include #include