Branch: refs/heads/master Home: https://github.com/OpenAMP/open-amp Commit: 0257ca5fd853f77d9d2debf97921cb912a21067e https://github.com/OpenAMP/open-amp/commit/0257ca5fd853f77d9d2debf97921cb912... Author: Ed Mooring ed.mooring@xilinx.com Date: 2020-10-16 (Fri, 16 Oct 2020)
Changed paths: M apps/examples/load_fw/common.h M apps/examples/load_fw/mem_image_store.c M apps/examples/rpc_demo/rpc_demod.c M apps/machine/zynq7/platform_info.c M apps/machine/zynqmp/platform_info.c M apps/machine/zynqmp_r5/platform_info.c M apps/system/linux/machine/generic/platform_info.c
Log Message: ----------- Add <errno.h> explicitly to all files that use errno values.
When building OpenAMP apps for FreeRTOS on Xilinx hardware, there were compile errors due to EINVAL not being defined. On other platforms, <errno.h> was implicitly included by OpenAMP header files. This change explicitly includes it where it is needed in the code.
There is one exception, load_fw/commmon.h has <errno.h> added, since all common include files are placed there.
Signed-off-by: Ed Mooring ed.mooring@linaro.org
openamp-rp@lists.openampproject.org