]> git.meshlink.io Git - meshlink/blobdiff - src/meshlink.h
The name errno conflicts with the real errno: ‘__errno_location’ declared as a function
[meshlink] / src / meshlink.h
index 36548bf70608b8d6f2ce1ee57c8b3eba3271ccce..86d2587cfc13bbb0ca4ec5040aa4ad8f1a12bf85 100644 (file)
@@ -39,7 +39,7 @@ typedef enum {
 #ifndef MESHLINK_INTERNAL_H
 
 struct meshlink_handle {
-       meshlink_errno_t errno; /// Code of the last encountered error.
+       meshlink_errno_t meshlink_errno; /// Code of the last encountered error.
        const char *errstr;     /// Textual representation of most recent error encountered.
 };