mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
abuf: Allow use in host tools
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>
This commit is contained in:
parent
c487381d50
commit
d887432807
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user