summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2010-12-21 12:42:51 -0500
committerRyan Lortie <desrt@desrt.ca>2010-12-21 12:42:51 -0500
commit8b45d1c7df79b88efce823b332acecdadee56f93 (patch)
treeadb6fe82ab1c00cf4ff0415f7742cdbe894726ed /common
parent3a51475bb06076c1651101bffc7c31baedc4286f (diff)
downloaddconf-8b45d1c7df79b88efce823b332acecdadee56f93.tar.gz
Avoid #include sys/{statfs,vfs}.h on FreeBSD
Try to close #632970 again.
Diffstat (limited to 'common')
-rw-r--r--common/dconf-shmdir.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/dconf-shmdir.c b/common/dconf-shmdir.c
index 4b19da7..d87d6d7 100644
--- a/common/dconf-shmdir.c
+++ b/common/dconf-shmdir.c
@@ -21,8 +21,11 @@
#include "dconf-shmdir.h"
+#ifndef __FreeBSD__
#include <sys/statfs.h>
#include <sys/vfs.h>
+#endif
+
#include <sys/param.h>
#include <sys/mount.h>
#include <errno.h>