summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-01-23 12:15:53 -0600
committerDan McGee <dan@archlinux.org>2012-01-23 12:15:53 -0600
commita03c35125ec729b914600b7c24084f83a05a5ede (patch)
tree2c96a9787a2015eb655992ada1f9f121fed42c10 /lib
parent44f146f232be5203fb01ad35fdf73122838df97c (diff)
downloadpacman-a03c35125ec729b914600b7c24084f83a05a5ede.tar.xz
Fix sys/mnttab.h header include
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-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>