summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2023-12-14 13:16:47 -0500
committerTom Rini <[email protected]>2023-12-21 08:54:37 -0500
commitcb3ce954013ce383e64b73b65df1eb4ef8833570 (patch)
tree5e33dd6fc11882f093071e5694a22b5d642beaed /lib
parent460b2c068c07d665af48566cfe39582086fed921 (diff)
global: Drop common.h inclusion
In order to make it easier to move on to dropping common.h from code directly, remove common.h inclusion from the rest of the header file which had been including it. Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'lib')
-rw-r--r--lib/libavb/avb_sysdeps.h4
-rw-r--r--lib/zlib/zlib.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libavb/avb_sysdeps.h b/lib/libavb/avb_sysdeps.h
index f52428cc622..aece8e0a018 100644
--- a/lib/libavb/avb_sysdeps.h
+++ b/lib/libavb/avb_sysdeps.h
@@ -19,7 +19,9 @@ extern "C" {
* like uint8_t, uint64_t, and bool (with |false|, |true| keywords)
* must be present.
*/
-#include <common.h>
+#include <stdio.h>
+#include <stdbool.h>
+#include <linux/types.h>
/* If you don't have gcc or clang, these attribute macros may need to
* be adjusted.
diff --git a/lib/zlib/zlib.h b/lib/zlib/zlib.h
index af3703e6d77..560e7be97d3 100644
--- a/lib/zlib/zlib.h
+++ b/lib/zlib/zlib.h
@@ -2,7 +2,6 @@
#ifndef __GLUE_ZLIB_H__
#define __GLUE_ZLIB_H__
-#include <common.h>
#include <linux/compiler.h>
#include <asm/unaligned.h>
#include <watchdog.h>