mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
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>
This commit is contained in:
parent
8e76230dfb
commit
4d440a7c41
@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
#define UPPER_MAP_OFFSET (4096 - 256 - 4)
|
#define UPPER_MAP_OFFSET (4096 - 256 - 4)
|
||||||
#define getVTBA(flumap) (((flumap)->FLUMAP1 << 4) & 0x00000ff0)
|
#define getVTBA(flumap) (((flumap)->FLUMAP1 << 4) & 0x00000ff0)
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "flash.h" /* for msg_* */
|
#include "flash.h" /* for msg_* */
|
||||||
#include "programmer.h"
|
#include "programmer.h"
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#ifndef __ICH_DESCRIPTORS_H__
|
#ifndef __ICH_DESCRIPTORS_H__
|
||||||
#define __ICH_DESCRIPTORS_H__ 1
|
#define __ICH_DESCRIPTORS_H__ 1
|
||||||
|
|
||||||
|
#include <sys/types.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "programmer.h" /* for enum ich_chipset */
|
#include "programmer.h" /* for enum ich_chipset */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user