linux-glibc-devel/linux-glibc-devel-if_pppox-includes.patch
Andreas Schwab a7794c7828 Accepting request 319270 from home:dimstar:Factory
- Add linux-glibc-devel-if_pppox-includes.patch: fix compilation of
  userspace programs including if_pppox.h (e.g. ebtables).

OBS-URL: https://build.opensuse.org/request/show/319270
OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-glibc-devel?expand=0&rev=91
2015-07-29 11:12:13 +00:00

22 lines
617 B
Diff

Fixes userspace compilation error:
error: "IFNAMSIZ" undeclared here (not in a function)
Signed-off-by: Mikko Rapeli <mikko.rapeli [at] iki>
---
include/uapi/linux/if_pppox.h | 1 +
1 file changed, 1 insertion(+)
Index: linux-glibc-devel-4.1/usr/include/linux/if_pppox.h
===================================================================
--- linux-glibc-devel-4.1.orig/usr/include/linux/if_pppox.h
+++ linux-glibc-devel-4.1/usr/include/linux/if_pppox.h
@@ -21,6 +21,7 @@
#include <asm/byteorder.h>
#include <linux/socket.h>
+#include <linux/if.h>
#include <linux/if_ether.h>
#include <linux/if_pppol2tp.h>