]> git.meshlink.io Git - meshlink/blobdiff - src/sptps_test.c
Move connection_list to mesh->connections.
[meshlink] / src / sptps_test.c
index 33bad0a521d36e7624e565e1d4b92e201da612be..63a48459019395fd1049657600a40620a587677a 100644 (file)
@@ -20,6 +20,8 @@
 #include "system.h"
 
 #ifdef HAVE_LINUX
+#include <sys/ioctl.h>
+#include <linux/if.h>
 #include <linux/if_tun.h>
 #endif
 
@@ -32,7 +34,6 @@
 
 // Symbols necessary to link with logger.o
 bool send_request(void *c, const char *msg, ...) { return false; }
-struct list_t *connection_list = NULL;
 bool send_meta(void *c, const char *msg , int len) { return false; }
 char *logfilename = NULL;
 struct timeval now;