From: Bert Vermeulen Date: Tue, 16 Jul 2013 15:18:20 +0000 (+0200) Subject: Fix build X-Git-Tag: libsigrok-0.2.1~25 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e84e0096db5eb2b00300abe5e40487b190dd291d;p=libsigrok.git Fix build --- diff --git a/hardware/Makefile.am b/hardware/Makefile.am index 006dd1c3..086f8364 100644 --- a/hardware/Makefile.am +++ b/hardware/Makefile.am @@ -103,6 +103,7 @@ endif if HW_IKALOGIC_SCANAPLUS libsigrokhardware_la_LIBADD += ikalogic-scanaplus/libsigrok_hw_ikalogic_scanaplus.la +endif if HW_KECHENG_KC_330B libsigrokhardware_la_LIBADD += kecheng-kc-330b/libsigrok_hw_kecheng_kc_330b.la diff --git a/hwdriver.c b/hwdriver.c index f092b314..d031c007 100644 --- a/hwdriver.c +++ b/hwdriver.c @@ -118,6 +118,7 @@ extern SR_PRIV struct sr_dev_driver ikalogic_scanalogic2_driver_info; #endif #ifdef HAVE_HW_IKALOGIC_SCANAPLUS extern SR_PRIV struct sr_dev_driver ikalogic_scanaplus_driver_info; +#endif #ifdef HAVE_HW_KECHENG_KC_330B extern SR_PRIV struct sr_dev_driver kecheng_kc_330b_driver_info; #endif @@ -225,6 +226,7 @@ static struct sr_dev_driver *drivers_list[] = { #endif #ifdef HAVE_HW_IKALOGIC_SCANAPLUS &ikalogic_scanaplus_driver_info, +#endif #ifdef HAVE_HW_KECHENG_KC_330B &kecheng_kc_330b_driver_info, #endif