davfs2: fix musl compatibility 1511/head
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 30 Jun 2015 10:52:43 +0000 (12:52 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 30 Jun 2015 10:57:51 +0000 (12:57 +0200)
commit2273ff7642c9b3e505c6a038f978ad03be89d7de
treec12a4f1bfb398eab6b427b805ac2fa8bd675eb16
parent371bf3954680bac23a32ead2194c579bdc78f537
davfs2: fix musl compatibility

 - Add header tests for `error.h`, `sys/types.h` and `sys/select.h`
 - Add function tests for `canonicalize_file_name()` and `fopencookie()`
 - Add `compat.h` header to provide replacements for `error()`,
   `error_at_line()` and `canonicalize_file_name()` as well as the
   `_PATH_MOUNTED` and `_PATH_MNTTAB` defines
 - Add missing includes for `sys/select.h` and `sys/types.h`
 - Disable libneon debugging if no `fopencookie()` implementation is
   available

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