On Mon, Dec 08, 2003 at 03:17:22PM +0000, Keith Whitwell wrote: > OK, Alan - that looks like a better fix than my patch. When this goes in, > we can remove the XFree86Server checks from gl.h and glext.h.
O.k. Here's a slighly modified version that I'll hope to commit soon. Alan. Index: xf86_libc.h =================================================================== RCS file: /cvs/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h,v retrieving revision 1.16 diff -u -r1.16 xf86_libc.h --- xf86_libc.h 12 Sep 2003 19:39:06 -0000 1.16 +++ xf86_libc.h 8 Dec 2003 15:25:14 -0000 @@ -80,7 +80,14 @@ }; typedef struct _xf86dirent XF86DIRENT; +#if !(defined (__GNUG__) && defined (size_t)) +#ifndef __SIZE_TYPE__ +#define __SIZE_TYPE__ long unsigned int +#endif +typedef __SIZE_TYPE__ xf86size_t; +#else typedef unsigned long xf86size_t; +#endif typedef signed long xf86ssize_t; typedef unsigned long xf86dev_t; typedef unsigned int xf86mode_t; ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel