diff options
Diffstat (limited to 'package/dhcpcd/0001-fix-linux-macro-name.patch')
-rw-r--r-- | package/dhcpcd/0001-fix-linux-macro-name.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/package/dhcpcd/0001-fix-linux-macro-name.patch b/package/dhcpcd/0001-fix-linux-macro-name.patch new file mode 100644 index 000000000..18dbb10df --- /dev/null +++ b/package/dhcpcd/0001-fix-linux-macro-name.patch @@ -0,0 +1,25 @@ +Fix Linux define + +Fetched from upstream: +http://roy.marples.name/projects/dhcpcd/ci/2cabc3efee4c18ca?sbs=0 + +Signed-off-by: Baruch Siach <baruch@tkos.co.il> + +Index: dhcpcd.h +================================================================== +--- /dhcpcd.h ++++ /dhcpcd.h +@@ -58,11 +58,11 @@ + + 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; + unsigned int flags; + sa_family_t family; + |