]> git.meshlink.io Git - meshlink/commitdiff
Fix undefined reference to mesh in libmeshlink.so
authorSaverio Proto <zioproto@gmail.com>
Wed, 23 Apr 2014 22:09:37 +0000 (00:09 +0200)
committerSaverio Proto <zioproto@gmail.com>
Wed, 23 Apr 2014 22:09:37 +0000 (00:09 +0200)
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",