gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fswatcher inotify patch


From: Philippe Roussel
Subject: fswatcher inotify patch
Date: Mon, 29 Jan 2007 16:52:49 +0100
User-agent: Mutt/1.5.11

Hi

On my system (Ubuntu), I need the following patch and additional file
for fswatcher-inotify.m to compile. sys/inotify.h doesn't exist and
linux/inotify.h does not define the syscalls.

local_inotify_syscalls.h comes from gamin.

Philippe
-- 
The optimist thinks that this is the best of all possible worlds, and the 
pessimist knows it. J. Robert Oppenheimer

Index: fswatcher-inotify.h
===================================================================
--- fswatcher-inotify.h (révision 24428)
+++ fswatcher-inotify.h (copie de travail)
@@ -25,7 +25,10 @@
 #ifndef FSWATCHER_INOTIFY_H
 #define FSWATCHER_INOTIFY_H
 
-#include <sys/inotify.h>
+#include <sys/syscall.h>
+#include <unistd.h>
+#include <linux/inotify.h>
+#include "local_inotify_syscalls.h"
 #include <Foundation/Foundation.h>
 #include "DBKPathsTree.h"
 

Attachment: local_inotify_syscalls.h
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]