[PATCH] headers: Fix build errors with latest glibc
Keith Packard
keithp at keithp.com
Wed Jul 2 12:38:27 PDT 2014
Hans de Goede <hdegoede at redhat.com> writes:
> include/os.h defines protyptes for various non ansi-c str functions, such
> as str[n]casecmp and strndup. The definition of the prototypes is guarded
> by #ifndef HAVE_STRFOO, but HAVE_STRFOO is defined by xorg-server.h which
> is not included by all users of os.h. E.g. glamor.h does not and should not
> include xorg-server.h
This looks like a sensible change. I'd suggest having xorg-server.h
include os-strfeatures.h just in case someone is using that file without
also include os.h.
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140702/d1331607/attachment.sig>
More information about the xorg-devel
mailing list