[gtk+/gtk-2-24-quartz] gtkmountoperation-x11: unbreak compilation on OpenBSD.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24-quartz] gtkmountoperation-x11: unbreak compilation on OpenBSD.
- Date: Wed, 23 Nov 2011 23:03:25 +0000 (UTC)
commit 3e8017e88371e58789947ae2c3cd3d15ba9deeb9
Author: Antoine Jacoutot <ajacoutot openbsd org>
Date: Tue Sep 20 11:57:49 2011 +0200
gtkmountoperation-x11: unbreak compilation on OpenBSD.
Add missing header to prevent undeclared definitions.
Bug #659565
gtk/gtkmountoperation-x11.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmountoperation-x11.c b/gtk/gtkmountoperation-x11.c
index 92914f6..328a4be 100644
--- a/gtk/gtkmountoperation-x11.c
+++ b/gtk/gtkmountoperation-x11.c
@@ -42,6 +42,13 @@
#include <signal.h>
#include <errno.h>
+#if defined(__OpenBSD__)
+#include <sys/param.h>
+#include <kvm.h>
+#include <fcntl.h>
+#include <sys/sysctl.h>
+#endif
+
#include "gtkmountoperationprivate.h"
#include "gtkalias.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]