Define _CONST_X_STRING when including Xaw & Xt headers
Fixes build when building against libXaw 1.0.16 since
xorg/lib/libxaw@d0fcbd97 changed the definition of XawListChange
in <X11/Xaw/List.h>
from _Xconst char *
to String *
, where
String
is defined as const
if _CONST_X_STRING
is defined.
This also clears up 105 of the 162 -Wdiscarded-qualifiers
warnings.
Closes: #16 (closed)
Fixes: bccb7774 ("Fix -Wincompatible-pointer-types warning from gcc (issue #15 (closed))")
Signed-off-by: Alan Coopersmith @alanc