mntent.h not available on OpenBSD

Index: DPF/dgl/src/sofd/libsofd.c
--- DPF/dgl/src/sofd/libsofd.c.orig
+++ DPF/dgl/src/sofd/libsofd.c
@@ -338,7 +338,6 @@ const char *x_fib_recent_file(const char *appname) {
 }
 
 #ifdef HAVE_X11
-#include <mntent.h>
 #include <dirent.h>
 
 #include <X11/Xlib.h>
@@ -1793,6 +1792,7 @@ static const char *ignore_devices[] = {
 	"/dev/loop", "/dev/vn"
 };
 
+#ifndef __OpenBSD__
 static int check_mount (const char *mountpoint, const char *fs, const char *device) {
 	size_t i;
 	if (!mountpoint || !fs || !device) return -1;
@@ -1840,6 +1840,7 @@ static int read_mtab (Display *dpy, const char *mtab) 
 	fclose (mt);
 	return found;
 }
+#endif
 
 static void populate_places (Display *dpy) {
 	char tmp[1024];
@@ -1868,9 +1869,11 @@ static void populate_places (Display *dpy) {
 		parse_gtk_bookmarks (dpy, _fib_cfg_custom_places);
 	}
 
+	#ifndef __OpenBSD__
 	if (read_mtab (dpy, "/proc/mounts") < 1) {
 		read_mtab (dpy, "/etc/mtab");
 	}
+	#endif
 
 	int parsed_bookmarks = 0;
 	if (!parsed_bookmarks && getenv ("HOME")) {
