summaryrefslogtreecommitdiffstats
path: root/package/dhcpcd/0001-fix-linux-macro-name.patch
blob: 18dbb10dfda2ba94f934ad4607965c2ffb8aabaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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;

OpenPOWER on IntegriCloud