summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/miscfn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/miscfn.h b/misc/miscfn.h
index 80a519480..791ae50a0 100644
--- a/misc/miscfn.h
+++ b/misc/miscfn.h
@@ -65,6 +65,7 @@ extern void *myrealloc(void *, size_t);
#if HAVE_GETMNTINFO_R || HAVE_MNTCTL
# define GETMNTENT_ONE 0
# define GETMNTENT_TWO 0
+# include <sys/mount.h>
#elif HAVE_MNTENT_H || !(HAVE_GETMNTENT) || HAVE_STRUCT_MNTTAB
# if HAVE_MNTENT_H || HAVE_STRUCT_MNTTAB
# include <mntent.h>