On Mon, 21 Sep 2009 15:03:26 +0200 Albert Pauw <albert.pauw@xxxxxxxxx> wrote: > I haven't changed it, but here is the file you asked for: > > /* > * include/linux/signalfd.h > * > * Copyright (C) 2007 Davide Libenzi <davidel@xxxxxxxxxxxxxxx> > * > */ > > #ifndef _LINUX_SIGNALFD_H > #define _LINUX_SIGNALFD_H > > #include <linux/types.h> > /* For O_CLOEXEC and O_NONBLOCK */ > #include <linux/fcntl.h> Ok, this line is wrong. Seems that we need another workaround. The following patch works for you? diff --git a/usr/util.h b/usr/util.h index a7446a3..b345730 100644 --- a/usr/util.h +++ b/usr/util.h @@ -119,6 +119,8 @@ static inline int __sync_file_range(int fd, __off64_t offset, __off64_t bytes) #endif #if defined(__NR_signalfd) && defined(USE_SIGNALFD) + +#define _LINUX_FCNTL_H #include <linux/signalfd.h> static inline int __signalfd(int fd, const sigset_t *mask, int flags) -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html