summaryrefslogtreecommitdiff
path: root/src/examples/ecore
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2018-06-14 14:22:09 +0100
committerAlastair Poole <netstar@gmail.com>2018-06-14 14:24:04 +0100
commite680ff742631c12b4ce34a53eef32cd27b644c03 (patch)
treed19deb81ba1a1c8e7599ecd720437db1ede89355 /src/examples/ecore
parentee2ca991fc65197ad0bba8384e7767bab0ee12ac (diff)
examples: fix build on FreeBSD.
Missing header for AF_INET/6. Another small difference between BSD and Linux et al.
Diffstat (limited to 'src/examples/ecore')
-rw-r--r--src/examples/ecore/efl_net_ip_address_example.c3
1 files changed, 3 insertions, 0 deletions
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 @@
12#ifdef HAVE_ARPA_INET_H 12#ifdef HAVE_ARPA_INET_H
13# include <arpa/inet.h> 13# include <arpa/inet.h>
14#endif 14#endif
15#ifdef HAVE_SYS_SOCKET_H
16# include <sys/socket.h>
17#endif
15 18
16static int retval = EXIT_SUCCESS; 19static int retval = EXIT_SUCCESS;
17static Eina_List *resolving = NULL; 20static Eina_List *resolving = NULL;