]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
It's more correct to say BSD has sa_len.
authorRoy Marples <roy@marples.name>
Tue, 17 Jan 2017 12:21:12 +0000 (12:21 +0000)
committerRoy Marples <roy@marples.name>
Tue, 17 Jan 2017 12:21:12 +0000 (12:21 +0000)
sa.h

diff --git a/sa.h b/sa.h
index c2795d9d6ad84a67a8b3a07018b938ee37693255..5c3eace37934c3e5905b3255157fad681b6f513e 100644 (file)
--- a/sa.h
+++ b/sa.h
@@ -36,7 +36,7 @@ union sa_ss {
        struct sockaddr_in6     sin6;
 };
 
-#ifndef __linux__
+#ifdef BSD
 #define HAVE_SA_LEN
 #endif