From: Roy Marples Date: Fri, 7 Feb 2014 19:40:20 +0000 (+0000) Subject: Move DUID_LEN to a better header. X-Git-Tag: v6.3.0~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2e9d82c9997cfcce43b27aaa0903170ad81de10;p=thirdparty%2Fdhcpcd.git Move DUID_LEN to a better header. --- diff --git a/duid.h b/duid.h index b3ab00ee..ee3167a5 100644 --- a/duid.h +++ b/duid.h @@ -30,6 +30,10 @@ #include "net.h" +#ifndef DUID_LEN +# define DUID_LEN 128 + 2 +#endif + extern unsigned char *duid; extern size_t duid_len; diff --git a/net.h b/net.h index 5ce1ff02..3854fde5 100644 --- a/net.h +++ b/net.h @@ -49,10 +49,6 @@ # endif #endif -#ifndef DUID_LEN -# define DUID_LEN 128 + 2 -#endif - #define EUI64_ADDR_LEN 8 #define INFINIBAND_ADDR_LEN 20