open-plc-utils: fix musl and fortify source compatibility 1483/head
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 26 Jun 2015 14:38:42 +0000 (16:38 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 26 Jun 2015 14:41:26 +0000 (16:41 +0200)
commitd3c279d4f632c9b9e9fcb46df78f7ace9acffc56
tree9d891bb3dfc7dd48602f37d4d8d85de57745d630
parent940c522cf694b87a58a20152401d9dbe7f0a935c
open-plc-utils: fix musl and fortify source compatibility

 - Include `poll.h` at the top of `ether/readpacket.c` to avoid nested
   declaration errors caused by fortify source headers
 - Add missing `sys/select.h` include to `serial/serial.c`

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
utils/open-plc-utils/Makefile
utils/open-plc-utils/patches/100-musl-compat.patch [new file with mode: 0644]