]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix Linux define.
authorRoy Marples <roy@marples.name>
Sun, 8 Feb 2015 12:57:38 +0000 (12:57 +0000)
committerRoy Marples <roy@marples.name>
Sun, 8 Feb 2015 12:57:38 +0000 (12:57 +0000)
dhcpcd.h

index d17e21c93c1b58686ce7aec26f701711eb2f14f3..231225cd89c5f15ac6082c1ff992b1a0b8fbb4f7 100644 (file)
--- a/dhcpcd.h
+++ b/dhcpcd.h
@@ -60,7 +60,7 @@ struct interface {
        struct dhcpcd_ctx *ctx;
        TAILQ_ENTRY(interface) next;
        char name[IF_NAMESIZE];
-#ifdef __linux
+#ifdef __linux__
        char alias[IF_NAMESIZE];
 #endif
        unsigned int index;