From: Vincent Torri Date: Tue, 20 Jun 2017 05:19:13 +0000 (+0900) Subject: examples/net: Fix compilation on Windows X-Git-Tag: upstream/1.20.0~480 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa17e28e5abd14d84f5dc75aef8699fb1d84e751;p=platform%2Fupstream%2Fefl.git examples/net: Fix compilation on Windows --- diff --git a/src/examples/ecore/efl_net_ip_address_example.c b/src/examples/ecore/efl_net_ip_address_example.c index 37cbc2f..2392b23 100644 --- a/src/examples/ecore/efl_net_ip_address_example.c +++ b/src/examples/ecore/efl_net_ip_address_example.c @@ -1,10 +1,17 @@ #define EFL_BETA_API_SUPPORT 1 #define EFL_EO_API_SUPPORT 1 +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif #include #include #include -#include -#include +#ifdef HAVE_NETINET_IN_H +# include +#endif +#ifdef HAVE_ARPA_INET_H +# include +#endif static int retval = EXIT_SUCCESS; static Eina_List *resolving = NULL;