--- exo-0.3.2/exo/exo-mount-point.c.orig Sat May 12 22:16:01 2007 +++ exo-0.3.2/exo/exo-mount-point.c Sat May 12 22:22:13 2007 @@ -22,6 +22,8 @@ #include #endif +#include + #ifdef HAVE_SYS_TYPES_H #include #endif @@ -227,7 +229,7 @@ FILE *fp; /* try to open the /etc/mnttab file */ - fp = setmntent ("/etc/mnttab", "r"); + fp = fopen ("/etc/mnttab", "r"); if (G_UNLIKELY (fp == NULL)) { g_set_error (error, G_FILE_ERROR, g_file_error_from_errno (errno),