Messages in this thread | | | Date | Thu, 11 Sep 2008 18:29:18 +0300 | From | "Kirill A. Shutemov" <> | Subject | Re: [PATCH] include <linux/types.h> into linux/dlm_plock.h for __u* typedef |
| |
On Wed, Sep 10, 2008 at 01:18:24PM -0700, David Miller wrote: > From: "Kirill A. Shutemov" <kirill@shutemov.name> > Date: Wed, 10 Sep 2008 16:15:13 +0300 > > > $ make headers_install > > ... > > $ gcc usr/include/linux/dlm_plock.h > > usr/include/linux/dlm_plock.h:25: error: expected specifier-qualifier-list > > before ‘__u32’ > > That's not how this file is used by real applications. > Anybody can cook up contrived cases like this. > > Please show a real application or kernel compilation which breaks > because of the lack of types.h include here.
Any application which include this header before linux/types.h (directly or indirectly) will get the error. It's dependence on the order of inclusion.
-- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [unhandled content-type:application/pgp-signature] | |