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:
parent
5e149977e7
commit
d27b1df4e8
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue