From fecdfc82ab55d49f73a7bd90b3dde904e701d99a Mon Sep 17 00:00:00 2001
From: Aayush Gupta <aayushgupta219@gmail.com>
Date: Fri, 18 Sep 2020 09:15:40 +0000
Subject: [PATCH] beckham: gpt-utils: Drop include for stdio.h

Required macros are already defined in kernel now, and due to use of
generated_kernel_headers, these gives conflict when compiled, hence drop
this include and use kernel side declaration

Test: libgptutils.motorola_sdm660 compiles without any issues after this drop

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I3edb0826bbac1dc2919bbb049b1e8956d0e1a8d7
---
 gpt-utils/gpt-utils.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gpt-utils/gpt-utils.cpp b/gpt-utils/gpt-utils.cpp
index 130fec4..5063037 100644
--- a/gpt-utils/gpt-utils.cpp
+++ b/gpt-utils/gpt-utils.cpp
@@ -32,7 +32,6 @@
 /******************************************************************************
  * INCLUDE SECTION
  ******************************************************************************/
-#include <stdio.h>
 #include <fcntl.h>
 #include <string.h>
 #include <errno.h>
-- 
GitLab