]> sigrok.org Git - libsigrok.git/blobdiff - hardware/demo/demo.c
sr: Compile fix for Windows/MinGW.
[libsigrok.git] / hardware / demo / demo.c
index e2cbe30de6eeeb8e3a27400762356c2b8255f496..a7ce4ec70aa870905065d1afcaf455a3d8a56398 100644 (file)
@@ -64,7 +64,7 @@ enum {
 };
 
 /* FIXME: Should not be global. */
-static GIOChannel *channels[2];
+SR_PRIV GIOChannel *channels[2];
 
 struct databag {
        int pipe_fds[2];