]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.c
Fix undefined reference to mesh in libmeshlink.so
[meshlink] / src / meshlink.c
index 6fe57c024e9d0f1b8278c665a0056cc5f2654a3f..2c9b7e606faeee38b507e0a97cb24167ec6632c7 100644 (file)
@@ -23,6 +23,8 @@
 #include "protocol.h"
 #include "xalloc.h"
 
+meshlink_handle_t *mesh;
+
 static const char *errstr[] = {
        [MESHLINK_OK] = "No error",
        [MESHLINK_ENOMEM] = "Out of memory",