[Dovecot] Compiling Dovecot with-notify=inotify

Marcus Rueckert rueckert at informatik.uni-rostock.de
Mon Jan 23 14:43:15 EET 2006


On 2006-01-23 13:28:29 +0100, Jakob Hirsch wrote:
> This whole inotify header thing is a little strange.
> At first, dovecot needed linux/inotify.h and linux/inotify-syscalls.h.
> This was changed some days ago to a single header file, sys/inotify.h. But
> now the syscall numbers are missing...
> 
> I solved it on my system by fetching both header files from
> ftp://ftp.kernel.org/pub/linux/kernel/people/rml/inotify/headers/ and
> merging them into a single inotify.h. Don't know if this the right
> thing[tm], but it works. It's now in the Wiki (CompilingSource). Comments
> and objections welcome.

you should _not_ include linux/* in a userspace program. at least on my
boxes it works just fine with including "sys/inotify.h".

darix


More information about the dovecot mailing list