PROGRAM_NAME was defined within the if block of HAVE_LIBXML, causing a
compilation failure when libxml is not present.
Move the define of PROGRAM_NAME out of the if block.
Signed-off-by: Yong Bakos <ybakos@humanoriented.com>
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
#if HAVE_LIBXML
#include <libxml/parser.h>
-#define PROGRAM_NAME "wayland-scanner"
-
/* Embedded wayland.dtd file, see dtddata.S */
extern char DTD_DATA_begin;
extern int DTD_DATA_len;
#include "wayland-util.h"
+#define PROGRAM_NAME "wayland-scanner"
+
enum side {
CLIENT,
SERVER,