From 267fd86e7da57719577c50039129654bd396c651 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 18 Mar 2015 21:52:38 +0100 Subject: libctrl: Include config.h so we can include netinet/tcp.h In e15ac060e7ae78d4c3569d7fc9071bcf49807e05 we tried to fix the nuttx build but we never included "netinet/tcp.h" after it and the compiler warned about the unused "on" parameter which we didn't notice because of the other warnings... Include config.h so we can see if there is a tcp.h and then include it. --- src/ctrl/control_if.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ctrl/control_if.c b/src/ctrl/control_if.c index dc191209..18e695d9 100644 --- a/src/ctrl/control_if.c +++ b/src/ctrl/control_if.c @@ -21,6 +21,8 @@ * */ +#include "config.h" + #include #include #include -- cgit v1.2.3