stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=305f77607cdd5e089424fc68ffa888df70f269ce

commit 305f77607cdd5e089424fc68ffa888df70f269ce
Author: Stefan Schmidt <[email protected]>
Date:   Mon Feb 4 13:10:40 2019 +0100

    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 <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D7873
---
 src/examples/ecore/ecore_fd_handler_gnutls_example.c | 3 +++
 1 file changed, 3 insertions(+)

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 @@
 #ifdef HAVE_SYS_SOCKET_H
 # include <sys/socket.h>
 #endif
+#ifdef HAVE_ARPA_INET_H
+# include <arpa/inet.h>
+#endif
 #include <errno.h>
 #include <unistd.h>
 #include <gnutls/gnutls.h>

-- 


Reply via email to