summaryrefslogtreecommitdiff
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
commit64e2eba9bc2e581abe78ac9c4098646c091eee1d (patch)
tree30270356cdf5dffb55e50e002bd4206c2d4cc22e
parent122d3c793eab50191df1c8e6da6439bd69e4dac5 (diff)
examples: fix build on FreeBSD.
Missing header for AF_INET/6. Another small difference between BSD and Linux et al.
-rw-r--r--unsorted/ecore/efl_net_ip_address_example.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/unsorted/ecore/efl_net_ip_address_example.c b/unsorted/ecore/efl_net_ip_address_example.c
index 2989efbc..ee1595b6 100644
--- a/unsorted/ecore/efl_net_ip_address_example.c
+++ b/unsorted/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;