Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
dd1dc879
Commit
dd1dc879
authored
Jun 16, 2015
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include <net/if_arp.h> instead of <netinet/ether.h>.
This fixes compilation under musl.
parent
d2459253
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
kernel_netlink.c
kernel_netlink.c
+2
-1
No files found.
kernel_netlink.c
View file @
dd1dc879
...
@@ -41,7 +41,7 @@ THE SOFTWARE.
...
@@ -41,7 +41,7 @@ THE SOFTWARE.
#include <linux/rtnetlink.h>
#include <linux/rtnetlink.h>
#include <linux/if_bridge.h>
#include <linux/if_bridge.h>
#include <linux/fib_rules.h>
#include <linux/fib_rules.h>
#include <net
inet/ether
.h>
#include <net
/if_arp
.h>
#if(__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 5)
#if(__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 5)
#define RTA_TABLE 15
#define RTA_TABLE 15
...
@@ -74,6 +74,7 @@ int num_old_if = 0;
...
@@ -74,6 +74,7 @@ int num_old_if = 0;
static
int
dgram_socket
=
-
1
;
static
int
dgram_socket
=
-
1
;
#ifndef ARPHRD_ETHER
#ifndef ARPHRD_ETHER
#warning ARPHRD_ETHER not defined, we might not support exotic link layers
#define ARPHRD_ETHER 1
#define ARPHRD_ETHER 1
#define NO_ARPHRD
#define NO_ARPHRD
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment