From: Saverio Proto Date: Wed, 23 Apr 2014 21:21:08 +0000 (+0200) Subject: The name errno conflicts with the real errno: ‘__errno_location’ declared as a function X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=8b0e546465b3c53c8e165bc1c84d1f5e74feb6c6;p=meshlink The name errno conflicts with the real errno: ‘__errno_location’ declared as a function --- diff --git a/src/meshlink.h b/src/meshlink.h index 36548bf7..86d2587c 100644 --- a/src/meshlink.h +++ b/src/meshlink.h @@ -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. };