mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-12 10:31:51 +00:00
Try to fix compilation patch for bpi-r2
This commit is contained in:
parent
1121b870ee
commit
478f9274c3
1 changed files with 16 additions and 15 deletions
|
@ -1,24 +1,25 @@
|
|||
--- a/src/flowlabel.h 2021-06-24 13:26:33.142463630 +0200
|
||||
+++ b/src/flowlabel.h 2021-06-24 13:27:45.669235179 +0200
|
||||
@@ -37,21 +37,6 @@
|
||||
@@ -37,21 +37,21 @@
|
||||
conflicts with "netinet/in.h" .
|
||||
*/
|
||||
|
||||
-#ifndef __ANDROID__
|
||||
-struct in6_flowlabel_req
|
||||
-{
|
||||
- struct in6_addr flr_dst;
|
||||
- __u32 flr_label;
|
||||
- __u8 flr_action;
|
||||
- __u8 flr_share;
|
||||
- __u16 flr_flags;
|
||||
- __u16 flr_expires;
|
||||
- __u16 flr_linger;
|
||||
- __u32 __flr_pad;
|
||||
- /* Options in format of IPV6_PKTOPTIONS */
|
||||
-};
|
||||
-#endif
|
||||
-
|
||||
+#ifndef _LINUX_IN6_H
|
||||
struct in6_flowlabel_req
|
||||
{
|
||||
struct in6_addr flr_dst;
|
||||
__u32 flr_label;
|
||||
__u8 flr_action;
|
||||
__u8 flr_share;
|
||||
__u16 flr_flags;
|
||||
__u16 flr_expires;
|
||||
__u16 flr_linger;
|
||||
__u32 __flr_pad;
|
||||
/* Options in format of IPV6_PKTOPTIONS */
|
||||
};
|
||||
#endif
|
||||
|
||||
#define IPV6_FL_A_GET 0
|
||||
#define IPV6_FL_A_PUT 1
|
||||
#define IPV6_FL_A_RENEW 2
|
||||
|
|
Loading…
Reference in a new issue