tgt: fix musl compatibility 1427/head
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Jun 2015 18:16:34 +0000 (20:16 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 18 Jun 2015 18:18:15 +0000 (20:18 +0200)
commite55822ec2b5f6b94c85113de1608fd75830b849c
tree58f72e54a7e851fca78910c4599b7cd208e82ef2
parent4116e327afee80aaea33a16358f5f7c0da687bec
tgt: fix musl compatibility

 - Include `sys/user.h` if `__WORDSIZE` is undefined
 - Add `fcntl.h` to `libscc.c` in order to declare `loff_t`

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