examples: fix build on FreeBSD.

Missing header for AF_INET/6. Another small
difference between BSD and Linux et al.
This commit is contained in:
Alastair Poole 2018-06-14 14:22:09 +01:00
parent ee2ca991fc
commit e680ff7426
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
static int retval = EXIT_SUCCESS;
static Eina_List *resolving = NULL;