Check if an event is initialized before calling event_del().
[tinc] / src / Makefile.am
index 5c2ab85..4274910 100644 (file)
@@ -12,12 +12,17 @@ tincd_SOURCES = \
 
 tincctl_SOURCES = \
        xmalloc.c utils.c getopt.c getopt1.c dropin.c \
-       tincctl.c rsagen.c
+       list.c tincctl.c rsagen.c
 
 if TUNEMU
 tincd_SOURCES += bsd/tunemu.c
 endif
 
+if CURSES
+tincctl_SOURCES += top.c
+tincctl_LDADD = $(CURSES_LIBS)
+endif
+
 nodist_tincd_SOURCES = device.c
 
 DEFAULT_INCLUDES =