Nico Huber has uploaded this change for review.
Include <sys/types.h> wherever ssize_t is used
`ssize_t` is a POSIX type (cf. IEEE Std 1003.1).
Original-Change-Id: I5f6f114523f541b3a8d845c6faee2c0b9f753bae
Original-Reviewed-on: https://review.coreboot.org/21015
Original-Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Original-Reviewed-by: Urja Rannikko <urjaman@gmail.com>
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Change-Id: Iffabf97a2e3f3540e5969e214f9c49ac06fa2597
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reported-by: Urja Rannikko <urjaman@gmail.com>
---
M dediprog.c
M ich_descriptors.c
M ich_descriptors.h
3 files changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/16/21816/1
diff --git a/dediprog.c b/dediprog.c
index 6f82772..2f5b441 100644
--- a/dediprog.c
+++ b/dediprog.c
@@ -21,6 +21,7 @@
#include "platform.h"
+#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/ich_descriptors.c b/ich_descriptors.c
index a2f8edf..7916152 100644
--- a/ich_descriptors.c
+++ b/ich_descriptors.c
@@ -34,6 +34,7 @@
#define UPPER_MAP_OFFSET (4096 - 256 - 4)
#define getVTBA(flumap) (((flumap)->FLUMAP1 << 4) & 0x00000ff0)
+#include <sys/types.h>
#include <string.h>
#include "flash.h" /* for msg_* */
#include "programmer.h"
diff --git a/ich_descriptors.h b/ich_descriptors.h
index 574bc5f..4ddc710 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 */
To view, visit change 21816. To unsubscribe, visit settings.