From aa17e28e5abd14d84f5dc75aef8699fb1d84e751 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 20 Jun 2017 14:19:13 +0900 Subject: [PATCH] examples/net: Fix compilation on Windows --- src/examples/ecore/efl_net_ip_address_example.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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; -- 2.7.4