diff --git a/Makefile.am b/Makefile.am index 721c91d4..212493d7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -32,6 +32,7 @@ sgminer_CPPFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\" endif sgminer_SOURCES := miner.c miner.h +sgminer_SOURCES += configuration.c configuration.h sgminer_SOURCES += api.c sgminer_SOURCES += elist.h compat.h sgminer_SOURCES += util.c util.h uthash.h diff --git a/configuration.h b/configuration.h index 52dd4772..1c321371 100644 --- a/configuration.h +++ b/configuration.h @@ -147,7 +147,7 @@ char *set_quota(char *arg); char *enable_debug(bool *flag); -struct opt_table opt_config_table[]; -struct opt_table opt_cmdline_table[]; +struct opt_table *opt_config_table; +struct opt_table *opt_cmdline_table; #endif /* CONFIGURATION_H */