diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | viewres.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index bd9a2e6..959d138 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,7 @@ SUBDIRS = man bin_PROGRAMS = viewres AM_CFLAGS = $(VIEWRES_CFLAGS) $(CWARNFLAGS) +AM_CPPFLAGS = -D_CONST_X_STRING viewres_LDADD = $(VIEWRES_LIBS) viewres_SOURCES = \ @@ -885,7 +885,7 @@ main (int argc, char *argv[]) toplevel = XtAppInitialize (&app_con, "Viewres", Options, XtNumber (Options), - &argc, argv, (char **) fallback_resources, + &argc, argv, (String *) fallback_resources, (ArgList) NULL, ZERO); if (argc != 1) usage (); |