[PATCH] Make sure X_BYTE_ORDER is defined for servermd.h

Michel Dänzer michel at daenzer.net
Wed Jul 30 18:21:19 PDT 2014


On 31.07.2014 02:16, Keith Packard wrote:
> Michel Dänzer <michel at daenzer.net> writes:
> 
>> -#ifdef HAVE_DIX_CONFIG_H
>> -#include "dix-config.h"
>> -#else
>> -#include "xorg-server.h"
>> +#if !defined(_DIX_CONFIG_H_) && !defined(_XORG_SERVER_H_)
>> +#error Drivers must include xorg-server.h before any other xserver headers
>> +#error xserver code must include dix-config.h before any other headers
>>  #endif
> 
> Might be better to stick this check in os.h or misc.h as those are both
> included by most of the files in the server.

Sounds good.


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 234 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140731/21d623e4/attachment.sig>


More information about the xorg-devel mailing list