coreboot-kgpe-d16/src/commonlib
Jonathan Neuschäfer b89b2c50c5 commonlib/fsp.h: include sys/types.h for ssize_t
This file reportedly didn't compile on SUSE Linux with gcc 4.3.4:

[...]
>     HOSTCC     cbfstool/fsp_relocate.o
> In file included from coreboot/src/commonlib/fsp_relocate.c:18:
> coreboot/src/commonlib/include/commonlib/fsp.h:26: error:
> expected '=', ',', ';', 'asm' or '__attribute__' before
> 'fsp_component_relocate'
[...]

According to POSIX-2008[1], sys/types.h defines ssize_t, so include it.
This should not break coreboot code (as opposed to utils code), as we
have a sys/types.h in src/include.

[1]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html

Change-Id: Id3694dc76c41d800ba09183e4b039b0719ac3d93
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/18417
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Martin Roth <martinroth@google.com>
2017-02-22 22:57:50 +01:00
..
include/commonlib commonlib/fsp.h: include sys/types.h for ssize_t 2017-02-22 22:57:50 +01:00
Makefile.inc drivers/intel/fsp2_0: load and relocate FSPS in cbmem 2016-07-19 20:18:08 +02:00
cbfs.c commonlib: cbfs: Add CBFS attribute support 2016-08-27 01:16:16 +02:00
configstring.c buildsystem: Drop explicit (k)config.h includes 2016-12-08 19:46:53 +01:00
fsp_relocate.c commonlib: update fsp_relocate to make it compatible with UEFI 2.6 2016-09-02 18:11:14 +02:00
lz4.c.inc cbfs: Add LZ4 in-place decompression support for pre-RAM stages 2016-02-22 21:38:37 +01:00
lz4_wrapper.c src/commonlib/lz4_wrapper: Correct inline asm for unaligned 64-bit copy 2016-06-24 19:10:05 +02:00
mem_pool.c commonlib: Prepare code to be included in cbfstool builds. 2016-01-06 01:11:32 +01:00
region.c commonlib: provide incoherent region device 2016-12-08 16:11:41 +01:00