From a9139222fbe4ab63472e0e154fb3d8011fbdbf31 Mon Sep 17 00:00:00 2001 From: Pietro Cerutti Date: Thu, 2 Oct 2014 10:14:55 +0200 Subject: [PATCH] netinet/in.h is required for struct sockaddr_in main.c:739:24: error: variable has incomplete type 'struct sockaddr_in' struct sockaddr_in serv_addr; --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 2cd410d..9402c37 100644 --- a/main.c +++ b/main.c @@ -59,6 +59,7 @@ #include #include +#include #include "telegram.h" #include "loop.h"