]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.h
README: Add link to Matrix space
[xonotic/darkplaces.git] / lhnet.h
diff --git a/lhnet.h b/lhnet.h
index 764e361aefeaa9b1d8e17fcc3ca17b6107552ea5..6d1d1f3f22c08f661d3c4ef40dc8da454f682e3a 100644 (file)
--- a/lhnet.h
+++ b/lhnet.h
@@ -4,6 +4,9 @@
 #ifndef LHNET_H
 #define LHNET_H
 
+#include <stddef.h>
+#include "com_list.h"
+
 typedef enum lhnetaddresstype_e
 {
        LHNETADDRESSTYPE_NONE,
@@ -34,7 +37,7 @@ typedef struct lhnetsocket_s
 {
        lhnetaddress_t address;
        int inetsocket;
-       struct lhnetsocket_s *next, *prev;
+       llist_t list;
 }
 lhnetsocket_t;