[gtk+/gtk-2-24] gtkmountoperation-x11: unbreak compilation on OpenBSD.
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] gtkmountoperation-x11: unbreak compilation on OpenBSD.
- Date: Tue, 8 Nov 2011 17:37:11 +0000 (UTC)
commit 4a22e2ceab7e52e700bba4cb8e61ebfb508c05fb
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]