Messages in this thread | | | Date | Tue, 16 Sep 2008 07:10:25 -0700 | From | Ulrich Drepper <> | Subject | Re: [PATCH] linux/inotify.h: do not include <linux/fcntl.h> in userspace |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Kirill A. Shutemov wrote: >> What is the error message? > > /usr/include/asm-generic/fcntl.h:117: error: redefinition of 'struct > flock'
And? None of these programs should use <linux/inotify.h>. There has for the longest time been a <sys/inotify.h> header which doesn't need any kernel headers. In fact, <linux/inotify.h> should not be exported.
- -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkjPvlEACgkQ2ijCOnn/RHTO0ACfR2NrTZ97pK34xZKM5pzlRbL6 Nb4AoJ27y9MU+Udr50GZVfZZXjg3ENWg =7Pol -----END PGP SIGNATURE----- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |