X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_mount.c;h=49040aa6a8e022554a3a56e5e702b41471dd2a38;hp=3d57ca64e732252365d3ca142ad655519d3d7e30;hb=7111bb6df7628edce3a8e538b386fbe27633a191;hpb=deb7d3cfd23c8e9e2b43e41f998fdea85fb4bab8 diff --git a/src/utils_mount.c b/src/utils_mount.c index 3d57ca64..49040aa6 100644 --- a/src/utils_mount.c +++ b/src/utils_mount.c @@ -664,6 +664,8 @@ cu_mount_t *cu_mount_getlist(cu_mount_t **list) { new = cu_mount_gen_getmntent(); #elif HAVE_SEQ_GETMNTENT #error "This version of `getmntent' hat not yet been implemented!" +#elif HAVE_GETMNTENT_R + new = cu_mount_getmntent(); #elif HAVE_ONE_GETMNTENT new = cu_mount_getmntent(); #else