summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zwgc/main.c2
-rw-r--r--zwgc/plus.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/zwgc/main.c b/zwgc/main.c
index 1e47a87..6836d5e 100644
--- a/zwgc/main.c
+++ b/zwgc/main.c
@@ -396,7 +396,9 @@ create_punt_reply(int_dictionary_binding *punt)
void
notice_handler(ZNotice_t *notice)
{
+#ifndef HAVE_ARES
char node[MAXDNAME];
+#endif
#if defined(CMU_ZWGCPLUS)
list_add_notice(notice);
diff --git a/zwgc/plus.h b/zwgc/plus.h
index 7a6f052..f0a39a5 100644
--- a/zwgc/plus.h
+++ b/zwgc/plus.h
@@ -24,3 +24,4 @@ extern void plus_window_deletions(ZNotice_t *notice); /* actually in xshow.c */
extern void plus_queue_notice(ZNotice_t *notice);
extern long plus_timequeue_events(void);
+void plus_set_hname(ZNotice_t *notice, char *hname);