From de6d88c0b7d7e473ad398ac7d72b547b84d3a186 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Sat, 10 May 2014 13:44:16 +0200
Subject: [PATCH] Now compiles again on macosx.

---
 src/modules/FSEvents/fsevents.cmod | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/FSEvents/fsevents.cmod b/src/modules/FSEvents/fsevents.cmod
index a2bd921fa3..eab96cc26a 100644
--- a/src/modules/FSEvents/fsevents.cmod
+++ b/src/modules/FSEvents/fsevents.cmod
@@ -355,7 +355,7 @@ static void do_event_callback(struct event_callback_ctx * ctx)
      CFStringRef eventPath;
      struct pike_string * str;
      const char * u8s;
-	 struct EventStream_struct * eventStreamObj;
+	 struct FSEvents_EventStream_struct * eventStreamObj;
 
 	 eventPath = CFArrayGetValueAtIndex(ctx->eventPaths, (CFIndex)cnt);
 	 str = string_from_cfstring(eventPath);
@@ -363,7 +363,7 @@ static void do_event_callback(struct event_callback_ctx * ctx)
 	 f_utf8_to_string(1);
 	 push_int(ctx->eventFlags[cnt]);
 	 push_int(ctx->eventIds[cnt]);
-	 eventStreamObj = (struct EventStream_struct *)(ctx->clientCallBackInfo);
+	 eventStreamObj = (struct FSEvents_EventStream_struct *)(ctx->clientCallBackInfo);
  	 apply_svalue(&eventStreamObj->callback_func, 3);
   }
 }
-- 
GitLab