summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2018-12-10 15:21:40 +0100
committerNico Huber <nico.h@gmx.de>2018-12-21 13:37:03 +0000
commite7cbfae69e2bdf22018f14fbaf076a78995a2b60 (patch)
tree5dc0687acc4661c6a010c96f2c0d800aee42501f
parentba72e91ec13f6adfd018a7af394a0d1db3ab2f81 (diff)
downloadflashrom-e7cbfae69e2bdf22018f14fbaf076a78995a2b60.tar.gz
flashrom-e7cbfae69e2bdf22018f14fbaf076a78995a2b60.tar.bz2
flashrom-e7cbfae69e2bdf22018f14fbaf076a78995a2b60.zip
libflashrom.h: Add missing includes
<stddef.h> for `size_t` and <sys/types.h> for `off_t`. Change-Id: Ifc84dfe2a06633321d0abd364bdea1216925a779 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/c/30153 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: David Hendricks <david.hendricks@gmail.com>
-rw-r--r--libflashrom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libflashrom.h b/libflashrom.h
index 4fbcd35cc..38c95d26c 100644
--- a/libflashrom.h
+++ b/libflashrom.h
@@ -18,6 +18,8 @@
#ifndef __LIBFLASHROM_H__
#define __LIBFLASHROM_H__ 1
+#include <sys/types.h>
+#include <stddef.h>
#include <stdarg.h>
int flashrom_init(int perform_selfcheck);