summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libalpm/diskspace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/diskspace.c b/lib/libalpm/diskspace.c
index 4127153d..d0f52a63 100644
--- a/lib/libalpm/diskspace.c
+++ b/lib/libalpm/diskspace.c
@@ -25,8 +25,8 @@
#if defined(HAVE_MNTENT_H)
#include <mntent.h>
#endif
-#if defined(HAVE_MNTTAB_H)
-#include <mnttab.h>
+#if defined(HAVE_SYS_MNTTAB_H)
+#include <sys/mnttab.h>
#endif
#if defined(HAVE_SYS_STATVFS_H)
#include <sys/statvfs.h>