Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: Tue Mar 09 16:41:40 2010 +0100 Revision: 3872 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: Add missing #includes to fix compilation with --enable-i3. Modified: M i3/i3_client/http.c M i3/i3_client/i3_client_context.c M i3/i3_client/i3_client_pkt.c M i3/i3_client/i3server_list.c M i3/i3_client/ping.c M i3/i3_client/ping_thread.c === modified file 'i3/i3_client/http.c' --- i3/i3_client/http.c 2010-02-17 17:38:08 +0000 +++ i3/i3_client/http.c 2010-03-09 15:41:40 +0000 @@ -17,6 +17,7 @@ #include <sys/types.h> #include <string.h> #include <errno.h> +#include <arpa/inet.h> #ifndef _WIN32 #include <unistd.h> #endif === modified file 'i3/i3_client/i3_client_context.c' --- i3/i3_client/i3_client_context.c 2010-02-17 17:38:08 +0000 +++ i3/i3_client/i3_client_context.c 2010-03-09 15:41:40 +0000 @@ -15,6 +15,7 @@ #include <string.h> #include <sys/types.h> /* basic system data types */ #include <time.h> /* timespec{} for pselect() */ +#include <arpa/inet.h> #ifndef _WIN32 #include <unistd.h> #include <sys/errno.h> === modified file 'i3/i3_client/i3_client_pkt.c' --- i3/i3_client/i3_client_pkt.c 2010-02-17 17:38:08 +0000 +++ i3/i3_client/i3_client_pkt.c 2010-03-09 15:41:40 +0000 @@ -10,6 +10,7 @@ #include <string.h> #include <sys/types.h> /* basic system data types */ #include <time.h> /* timespec{} for pselect() */ +#include <arpa/inet.h> #ifndef _WIN32 #include <sys/time.h> /* timeval{} for select() */ #include <sys/errno.h> === modified file 'i3/i3_client/i3server_list.c' --- i3/i3_client/i3server_list.c 2010-02-17 17:38:08 +0000 +++ i3/i3_client/i3server_list.c 2010-03-09 15:41:40 +0000 @@ -13,6 +13,7 @@ #include <math.h> #include <stdio.h> #include <stdlib.h> +#include <arpa/inet.h> #ifndef _WIN32 #include <pthread.h> #endif === modified file 'i3/i3_client/ping.c' --- i3/i3_client/ping.c 2010-02-17 17:38:08 +0000 +++ i3/i3_client/ping.c 2010-03-09 15:41:40 +0000 @@ -3,6 +3,7 @@ #include <sys/types.h> #include <string.h> +#include <arpa/inet.h> #ifndef _WIN32 #include <unistd.h> #endif === modified file 'i3/i3_client/ping_thread.c' --- i3/i3_client/ping_thread.c 2010-02-17 17:38:08 +0000 +++ i3/i3_client/ping_thread.c 2010-03-09 15:41:40 +0000 @@ -11,6 +11,7 @@ #include <stdio.h> +#include <arpa/inet.h> #include <errno.h> #ifndef _WIN32 #include <pthread.h>