summaryrefslogtreecommitdiff
path: root/src/examples/ecore
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-02-04 13:10:40 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2019-02-04 16:01:36 +0100
commit305f77607cdd5e089424fc68ffa888df70f269ce (patch)
treef521c73c6995c2ce7d88b25f8e63610b3c74f2a4 /src/examples/ecore
parent7ef793e7ef2191781bcb71caca04083f4669d022 (diff)
examples: ecore: bring back inet.h include for inet_pton()
In commit f7c560c311d0ba0da94346e17c8b20f40a0ed152 this include has been removed while we still need it for inet_pton() as the compliler warns us about. Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D7873
Diffstat (limited to '')
-rw-r--r--src/examples/ecore/ecore_fd_handler_gnutls_example.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/examples/ecore/ecore_fd_handler_gnutls_example.c b/src/examples/ecore/ecore_fd_handler_gnutls_example.c
index fcd758ea36..30fd6bcce2 100644
--- a/src/examples/ecore/ecore_fd_handler_gnutls_example.c
+++ b/src/examples/ecore/ecore_fd_handler_gnutls_example.c
@@ -15,6 +15,9 @@
15#ifdef HAVE_SYS_SOCKET_H 15#ifdef HAVE_SYS_SOCKET_H
16# include <sys/socket.h> 16# include <sys/socket.h>
17#endif 17#endif
18#ifdef HAVE_ARPA_INET_H
19# include <arpa/inet.h>
20#endif
18#include <errno.h> 21#include <errno.h>
19#include <unistd.h> 22#include <unistd.h>
20#include <gnutls/gnutls.h> 23#include <gnutls/gnutls.h>