From: Daniel Elstner Date: Sun, 13 Sep 2015 17:00:32 +0000 (+0200) Subject: new-driver: Include config.h first in template sources X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=4dfd6eced5f2a8c5136bee4d76f25ef304bee643;p=sigrok-util.git new-driver: Include config.h first in template sources --- diff --git a/source/drv-api.c b/source/drv-api.c index 20ac9c7..824027f 100644 --- a/source/drv-api.c +++ b/source/drv-api.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include #include "protocol.h" SR_PRIV struct sr_dev_driver ${lib}_driver_info; diff --git a/source/drv-protocol.c b/source/drv-protocol.c index 47ade0d..74f8fb8 100644 --- a/source/drv-protocol.c +++ b/source/drv-protocol.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include #include "protocol.h" SR_PRIV int ${lib}_receive_data(int fd, int revents, void *cb_data)