[dconf] Avoid #include sys/{statfs,vfs}.h on FreeBSD
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] Avoid #include sys/{statfs,vfs}.h on FreeBSD
- Date: Tue, 21 Dec 2010 17:43:46 +0000 (UTC)
commit 8b45d1c7df79b88efce823b332acecdadee56f93
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Dec 21 12:42:51 2010 -0500
Avoid #include sys/{statfs,vfs}.h on FreeBSD
Try to close #632970 again.
common/dconf-shmdir.c | 3 +++
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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]