From: Roy Marples Date: Fri, 24 Jan 2014 11:09:39 +0000 (+0000) Subject: Ensure that config.h or common.h is the first included local header. X-Git-Tag: v6.3.0~91 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=322ebc208b013485eecb47caa7a272afe289c0ee;p=thirdparty%2Fdhcpcd.git Ensure that config.h or common.h is the first included local header. Thanks to Sebastian Huber. --- diff --git a/arp.c b/arp.c index ca49e6a7..056e6858 100644 --- a/arp.c +++ b/arp.c @@ -32,6 +32,7 @@ #include #include +#include "config.h" #include "arp.h" #include "ipv4.h" #include "common.h" diff --git a/dhcp.c b/dhcp.c index f9710bbc..aa237690 100644 --- a/dhcp.c +++ b/dhcp.c @@ -54,8 +54,8 @@ #include #include -#include "arp.h" #include "config.h" +#include "arp.h" #include "common.h" #include "dhcp.h" #include "dhcpcd.h" diff --git a/dhcpcd.c b/dhcpcd.c index 57687159..d6dfa067 100644 --- a/dhcpcd.c +++ b/dhcpcd.c @@ -48,8 +48,8 @@ const char dhcpcd_copyright[] = "Copyright (c) 2006-2014 Roy Marples"; #include #include -#include "arp.h" #include "config.h" +#include "arp.h" #include "common.h" #include "control.h" #include "dev.h" diff --git a/ipv4ll.c b/ipv4ll.c index b00732c5..4aab862a 100644 --- a/ipv4ll.c +++ b/ipv4ll.c @@ -32,6 +32,7 @@ #include #include +#include "config.h" #include "arp.h" #include "common.h" #include "dhcp.h"