chiark / gitweb /
endian: explicitly include endian.h wherever we want to use __BYTE_ORDER
[elogind.git] / src / shared / socket-util.h
index efaaf82ab1fd57f626fb1a8b5c83bd453e2235f6..ec85d949cead0cebbef5db018ffc378bc7875ded 100644 (file)
@@ -24,7 +24,6 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <sys/un.h>
-#include <net/if.h>
 #include <asm/types.h>
 #include <linux/netlink.h>
 #include <linux/if_packet.h>
@@ -70,6 +69,7 @@ int socket_address_parse(SocketAddress *a, const char *s);
 int socket_address_parse_netlink(SocketAddress *a, const char *s);
 int socket_address_print(const SocketAddress *a, char **p);
 int socket_address_verify(const SocketAddress *a) _pure_;
+int socket_address_unlink(SocketAddress *a);
 
 bool socket_address_can_accept(const SocketAddress *a) _pure_;