Suse gave us a patch for this. It's pretty much the same as what you have below.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Thomas M Steenholdt > Sent: Tuesday, April 27, 2004 6:16 AM > To: [EMAIL PROTECTED] > Subject: [Samba] Re: build problem on SuSE SLES 8 SP3 (s390) - struct > statfs redefinition? > > > Sorry about the double post... > > Besides - I found a really old RedHat patch that fixes a problem in > capability.h... > > and it works... > > > --- libcap-1.10/libcap/include/sys/capability.h.foo Fri Nov 9 > 16:26:25 2001 > +++ libcap-1.10/libcap/include/sys/capability.h Fri Nov 9 > 16:28:47 2001 > @@ -21,6 +21,16 @@ > */ > > #include <sys/types.h> > +#include <stdint.h> > + > +/* > + * Make sure we can be included from userland by preventing > + * capability.h from including other kernel headers > + */ > +#define _LINUX_TYPES_H > +#define _LINUX_FS_H > +typedef uint32_t __u32; > + > #include <linux/capability.h> > > /* > > > Good luck to the rest of you with this problem!!! > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > ============================================================================== If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Click here for important additional terms relating to this e-mail. <http://www.ml.com/email_terms/> ============================================================================== -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
