git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c487381
)
abuf: Allow use in host tools
author
Simon Glass
<sjg@chromium.org>
Sat, 11 Jan 2025 00:00:02 +0000
(17:00 -0700)
committer
Tom Rini
<trini@konsulko.com>
Wed, 22 Jan 2025 21:58:03 +0000
(15:58 -0600)
Some header files included on the host are moving to use abuf, so adjust
the header-inclusion to bring in size_t correctly.
Signed-off-by: Simon Glass <sjg@chromium.org>
include/abuf.h
patch
|
blob
|
history
diff --git
a/include/abuf.h
b/include/abuf.h
index
76e314b
..
de21cef
100644
(file)
--- a/
include/abuf.h
+++ b/
include/abuf.h
@@
-9,7
+9,11
@@
#ifndef __ABUF_H
#define __ABUF_H
+#ifdef USE_HOSTCC
+#include <sys/types.h>
+#else
#include <linux/types.h>
+#endif
/**
* struct abuf - buffer that can be allocated and freed