From f6c88037abf5d0b207592938db528ece9e1b35d0 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 27 Oct 2004 07:48:29 +0000 Subject: [PATCH] Pay attention to HAVE_X11_XAW_COMMAND_H. --- example/otfview.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/example/otfview.c b/example/otfview.c index 809b69c..531f549 100644 --- a/example/otfview.c +++ b/example/otfview.c @@ -28,6 +28,8 @@ write to the Free Software Foundation, Inc., 59 Temple Place, Suite #include #include +#ifdef HAVE_X11_XAW_COMMAND_H + #include #include #include @@ -1349,3 +1351,16 @@ main (int argc, char **argv) exit (0); } + +#else /* not HAVE_X11_XAW_COMMAND_H */ + +int +main (int argc, char **argv) +{ + fprintf (stderr, + "Building of this program failed (lack of some header files)\n", + argv[0]); + exit (1); +} + +#endif -- 1.7.10.4