]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
sa: Fix compile on non BSD
authorRoy Marples <roy@marples.name>
Sun, 5 May 2019 11:54:30 +0000 (11:54 +0000)
committerRoy Marples <roy@marples.name>
Sun, 5 May 2019 11:54:30 +0000 (11:54 +0000)
src/sa.c

index bc9f5d6c34785ddb463ce0ae7b0c37dd36ad5df7..c0185f3ace09cf7421cdbcd179dc8afff2140645 100644 (file)
--- a/src/sa.c
+++ b/src/sa.c
@@ -94,7 +94,7 @@ sa_addrlen(const struct sockaddr *sa)
 }
 
 #ifndef HAVE_SA_LEN
-static int
+socklen_t
 sa_len(const struct sockaddr *sa)
 {