From: handa Date: Mon, 5 Sep 2005 00:55:08 +0000 (+0000) Subject: Check HAVE_X11_XAW_COMMAND_H before including X11/*.h. X-Git-Tag: REL-1-3-0~192 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e6fdcc3b99c91270dcd5b081e0be7e7a2afce455;p=m17n%2Fm17n-lib.git Check HAVE_X11_XAW_COMMAND_H before including X11/*.h. --- diff --git a/example/medit.c b/example/medit.c index 1dc78af..521c45d 100644 --- a/example/medit.c +++ b/example/medit.c @@ -87,6 +87,8 @@ #ifndef FOR_DOXYGEN +#ifdef HAVE_X11_XAW_COMMAND_H + #include #include #include @@ -107,8 +109,6 @@ #include #include -#ifdef HAVE_X11_XAW_COMMAND_H - #include #include #include diff --git a/example/mview.c b/example/mview.c index cd95901..8f1447f 100644 --- a/example/mview.c +++ b/example/mview.c @@ -99,6 +99,8 @@ */ #ifndef FOR_DOXYGEN +#ifdef HAVE_X11_XAW_COMMAND_H + #include #include @@ -109,8 +111,6 @@ #include #include -#ifdef HAVE_X11_XAW_COMMAND_H - #include #include #include