summaryrefslogtreecommitdiffstats
path: root/ich_descriptors.h
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2017-08-15 11:26:48 +0200
committerNico Huber <nico.h@gmx.de>2017-08-16 17:01:59 +0000
commit4d440a7c4102faae21b16204e667ea74c1dc8e52 (patch)
tree7122caef5133c365278a24d93cb7991a49aa36ae /ich_descriptors.h
parent8e76230dfbcc7720c5565a70daff650496556702 (diff)
downloadflashrom-4d440a7c4102faae21b16204e667ea74c1dc8e52.tar.gz
flashrom-4d440a7c4102faae21b16204e667ea74c1dc8e52.tar.bz2
flashrom-4d440a7c4102faae21b16204e667ea74c1dc8e52.zip
Include <sys/types.h> wherever ssize_t is used
`ssize_t` is a POSIX type (cf. IEEE Std 1003.1). Change-Id: I5f6f114523f541b3a8d845c6faee2c0b9f753bae Signed-off-by: Nico Huber <nico.h@gmx.de> Reported-by: Urja Rannikko <urjaman@gmail.com> Reviewed-on: https://review.coreboot.org/21015 Reviewed-by: David Hendricks <david.hendricks@gmail.com> Reviewed-by: Urja Rannikko <urjaman@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'ich_descriptors.h')
-rw-r--r--ich_descriptors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ich_descriptors.h b/ich_descriptors.h
index 574bc5f03..4ddc71024 100644
--- a/ich_descriptors.h
+++ b/ich_descriptors.h
@@ -22,6 +22,7 @@
#ifndef __ICH_DESCRIPTORS_H__
#define __ICH_DESCRIPTORS_H__ 1
+#include <sys/types.h>
#include <stdint.h>
#include "programmer.h" /* for enum ich_chipset */