Hans de Goede <[email protected]> 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.

-- 
[email protected]

Attachment: pgpZ4sSVdl71A.pgp
Description: PGP signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to