mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
Merge pull request #7843 from hbakken/work/old-kernel-support
Work/old kernel support
This commit is contained in:
commit
0a7eed95dd
@ -330,10 +330,14 @@ static inline ssize_t copy_file_range(int fd_in, loff_t *off_in,
|
||||
# define __NR_bpf 321
|
||||
# elif defined __aarch64__
|
||||
# define __NR_bpf 280
|
||||
# elif defined __arm__
|
||||
# define __NR_bpf 386
|
||||
# elif defined __sparc__
|
||||
# define __NR_bpf 349
|
||||
# elif defined __s390__
|
||||
# define __NR_bpf 351
|
||||
# elif defined __tilegx__
|
||||
# define __NR_bpf 280
|
||||
# else
|
||||
# warning "__NR_bpf not defined for your architecture"
|
||||
# endif
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include <netinet/icmp6.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <linux/in6.h>
|
||||
|
||||
#include "sd-radv.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user