X-Git-Url: https://git.distorted.org.uk/~mdw/preload-hacks/blobdiff_plain/3cefd57ae9e27dba0956368fd125b9786534407f..3fa609318c4e7ad8c53bb80a605567eabbc637dc:/noip.c diff --git a/noip.c b/noip.c index aca7b75..b9c040b 100644 --- a/noip.c +++ b/noip.c @@ -57,6 +57,11 @@ #include #include +#ifndef SUN_LEN +# define SUN_LEN (sun) \ + (strlen((sun)->sun_path) + offsetof(struct sockaddr_un, sun_path)) +#endif + /*----- Data structures ---------------------------------------------------*/ /* Unix socket status values. */