summaryrefslogtreecommitdiffstats
path: root/src/ctrl
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-03-18 21:52:38 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-03-18 21:54:37 +0100
commit267fd86e7da57719577c50039129654bd396c651 (patch)
tree87f33ec82feae899116bf7725b477b7f0a8a71e6 /src/ctrl
parent6cce3d71537cd9dc077c407d865b8b8ffe1ee77f (diff)
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.
Diffstat (limited to 'src/ctrl')
-rw-r--r--src/ctrl/control_if.c2
1 files changed, 2 insertions, 0 deletions
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 <errno.h>
#include <inttypes.h>
#include <stdio.h>