socat: work around missing stddef.h include
authorJo-Philipp Wich <redacted>
Tue, 17 Jan 2017 20:24:12 +0000 (21:24 +0100)
committerJo-Philipp Wich <redacted>
Tue, 17 Jan 2017 20:24:12 +0000 (21:24 +0100)
commit5e0596b541150c1569d50880c115a0fdb9a54cbe
treeb9c1db6ec75ee0af5e94e3d6c7391bf336a81373
parenta3e7b2dc0ef11ed24dbac06ac3933e85e4d5d829
socat: work around missing stddef.h include

The buildbots fail to build socat due to the following error:

    nestlex.c:14:7: error: unknown type name 'ptrdiff_t'

It appears that certain source files do not include all required headers,
depending on the configure options passed to socat.

Work around the error by passing `-include stddef.h` via `TARGET_CFLAGS` to
forcibly inject this header file into all compilation units.

Signed-off-by: Jo-Philipp Wich <redacted>
net/socat/Makefile
git clone https://git.99rst.org/PROJECT