IPv6 support (hopefully with fewer future transition pains)
[ircu2.10.12-pk.git] / include / uping.h
index afdf2869e169d9b22d24b3e797145c659e1b71a2..3bb44b127df22146c4763d8afc9d46d3b871f0a9 100644 (file)
@@ -34,6 +34,9 @@
 #ifndef INCLUDED_ircd_events_h
 #include "ircd_events.h"
 #endif
+#ifndef INCLUDED_res_h
+#include "res.h"
+#endif
 
 struct Client;
 struct ConfItem;
@@ -42,7 +45,7 @@ struct UPing
 {
   struct UPing*      next;     /* next ping in list, usually null */
   int                fd;       /* socket file descriptor */
-  struct sockaddr_in sin;      /* socket name (ip addr, port, family ) */
+  struct irc_sockaddr addr;      /* socket name (ip addr, port, family ) */
   char               count;    /* number of pings requested */
   char               sent;     /* pings sent */
   char               received; /* pings received */