ecore_con: fix structure declaration

Clang raised a massive amount of warnings due to the struct sockaddr_un
not being declared before using it. So, include the header that declares
this structure first.
This commit is contained in:
Jean Guyomarc'h 2016-10-30 18:40:54 +01:00
parent 5e149977e7
commit d27b1df4e8
2 changed files with 4 additions and 4 deletions

View File

@ -26,10 +26,6 @@
# include <arpa/inet.h>
#endif
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
#ifdef HAVE_SYSTEMD
# include <systemd/sd-daemon.h>
#endif

View File

@ -18,6 +18,10 @@
# include <openssl/ssl.h>
#endif
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
#define READBUFSIZ 65536
extern int _ecore_con_log_dom;