From e680ff742631c12b4ce34a53eef32cd27b644c03 Mon Sep 17 00:00:00 2001 From: Alastair Poole Date: Thu, 14 Jun 2018 14:22:09 +0100 Subject: [PATCH] examples: fix build on FreeBSD. Missing header for AF_INET/6. Another small difference between BSD and Linux et al. --- src/examples/ecore/efl_net_ip_address_example.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/examples/ecore/efl_net_ip_address_example.c b/src/examples/ecore/efl_net_ip_address_example.c index 2989efbc00..ee1595b6c3 100644 --- a/src/examples/ecore/efl_net_ip_address_example.c +++ b/src/examples/ecore/efl_net_ip_address_example.c @@ -12,6 +12,9 @@ #ifdef HAVE_ARPA_INET_H # include #endif +#ifdef HAVE_SYS_SOCKET_H +# include +#endif static int retval = EXIT_SUCCESS; static Eina_List *resolving = NULL;