From e6fdcc3b99c91270dcd5b081e0be7e7a2afce455 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 5 Sep 2005 00:55:08 +0000 Subject: [PATCH] Check HAVE_X11_XAW_COMMAND_H before including X11/*.h. --- example/medit.c | 4 ++-- example/mview.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 1.7.10.4