Re: [Freeciv-Dev] #include <x11/*>
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Andy Black wrote:
> If anyone adds a #include for an x-windows library to the common code
> (/server, /common, /ai, /client, /client/include) please considar if it is
> needed.
No, don't consider. Code in those directories should not
include X11 headers -- period.
> The file I noticed the problem in is
> client/include/mapctrl_g.h.
Thanks, thats a silly bug and I'll fix it ASAP.
> #if !(defined(GENERATING68K) || defined(GENERATINGPPC)) /* x-windows */
> #include <X11/Intrinsic.h>
> #endif /* end x-windows */
No, please do not do this.
-- David
|
|