Add set/get/endfsent() support for musl libc

This patch adds support for the following /etc/fstab API's on systems
that do not have them, e.g. musl libc on Alpine Linux.

- setfsent()
- getfsent(), and
- endfsent()

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-08-02 00:50:23 +02:00
1 parent 7eac88b639
commit c38b452ac4
4 files changed
+59 -1

No files matched your search

+2 -1
View File
@@ -24,7 +24,8 @@ AC_PROG_INSTALL
# Configuration.
AC_HEADER_STDC
AC_CHECK_FUNCS(strstr getopt)
AC_CHECK_HEADERS(fstaby.h)
AC_CHECK_FUNCS(strstr getopt getfsenty)
# Check for uint[8,16,32]_t
AC_TYPE_UINT8_T