new-driver: Include config.h first in template sources
authorDaniel Elstner <daniel.kitta@gmail.com>
Sun, 13 Sep 2015 17:00:32 +0000 (19:00 +0200)
committerDaniel Elstner <daniel.kitta@gmail.com>
Sun, 13 Sep 2015 17:00:32 +0000 (19:00 +0200)
source/drv-api.c
source/drv-protocol.c

index 20ac9c733b52309eeeb069dc373dbbf451b178e6..824027f962c9c265746ea73e96e736fa4c6c9fea 100644 (file)
@@ -17,6 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include "protocol.h"
 
 SR_PRIV struct sr_dev_driver ${lib}_driver_info;
index 47ade0d45250e4721b683ba4454cd0c22f0e5d9b..74f8fb81f552c8b846fcbdb5615da3974fbe37fd 100644 (file)
@@ -17,6 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include "protocol.h"
 
 SR_PRIV int ${lib}_receive_data(int fd, int revents, void *cb_data)