X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fsocket-util.h;fp=src%2Fshared%2Fsocket-util.h;h=d125fca83feea91526f85a7a68458876cbc31763;hp=f938f86200c55da82003c5809d08021530d8e2c9;hb=5d3de3fe9cc452f1bfe3c2dcafecbd7f904da4dc;hpb=03966da2ca04ca96dd0a1852d7fa423aaf18eba6 diff --git a/src/shared/socket-util.h b/src/shared/socket-util.h index f938f8620..d125fca83 100644 --- a/src/shared/socket-util.h +++ b/src/shared/socket-util.h @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -42,6 +41,11 @@ union sockaddr_union { struct sockaddr_ll ll; }; +union in_addr_union { + struct in_addr in; + struct in6_addr in6; +}; + typedef struct SocketAddress { union sockaddr_union sockaddr;