[seed] fix #650232 - Missing includes cause build to fail on OpenBSD
- From: Alan Knowles <alank src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seed] fix #650232 - Missing includes cause build to fail on OpenBSD
- Date: Mon, 16 May 2011 09:32:23 +0000 (UTC)
commit 7afc3b2138e559bfc65c056153141c2ccc747ac4
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date: Mon May 16 17:32:02 2011 +0800
fix #650232 - Missing includes cause build to fail on OpenBSD
libseed/seed-closure.c | 1 +
libseed/seed-private.h | 4 +++-
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libseed/seed-closure.c b/libseed/seed-closure.c
index f94e17d..4f0be53 100644
--- a/libseed/seed-closure.c
+++ b/libseed/seed-closure.c
@@ -18,6 +18,7 @@
*/
#include "seed-private.h"
+#include <sys/types.h>
#include <sys/mman.h>
JSClassRef seed_native_callback_class;
diff --git a/libseed/seed-private.h b/libseed/seed-private.h
index fcf1fa6..efdf9ae 100644
--- a/libseed/seed-private.h
+++ b/libseed/seed-private.h
@@ -20,8 +20,10 @@
#ifndef _SEED_PRIVATE_H
#define _SEED_PRIVATE_H
-#include <stdlib.h>
#include <sys/types.h>
+#include <pthread.h>
+
+#include <stdlib.h>
#include <JavaScriptCore/JavaScript.h>
#include <glib.h>
#include <glib-object.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]