]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile on FreeBSD
authorRoy Marples <roy@marples.name>
Tue, 14 Oct 2014 11:29:50 +0000 (11:29 +0000)
committerRoy Marples <roy@marples.name>
Tue, 14 Oct 2014 11:29:50 +0000 (11:29 +0000)
dhcpcd.h

index 71659c566970a58678f195bddbbf0044f5fd2ad8..45b0d021bb94982f887432f72a1648b3dd216d49 100644 (file)
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -63,7 +63,7 @@ struct interface {
        unsigned int index;
        unsigned int flags;
        sa_family_t family;
-#ifdef __FreeBSD
+#ifdef __FreeBSD__
        struct sockaddr_storage linkaddr;
 #endif
        unsigned char hwaddr[HWADDR_LEN];