Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1531265
| From | Daniel Borkmann <daniel@iogearbox.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next] bpf: selftests: include <sys/resource.h> to fix build error |
| Date | 2016-11-28 13:30 +0100 |
| Message-ID | <sIteh-22H-7@gated-at.bofh.it> (permalink) |
| References | <sIsBA-1xz-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 11/28/2016 12:45 PM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Fix incomplete type build error on struct rlimit by including
> <sys/resource.h>, fixes:
>
> test_lru_map.c:552:9: error: variable ‘r’ has initializer
> but incomplete type
> struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY};
> ^
> test_lru_map.c:552:21: error: ‘RLIM_INFINITY’ undeclared
> (first use in this function)
> struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY};
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Thanks for the patch, fixed here already:
https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=e00c7b216f34444252f3771f7d4ed48d4f032636
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next] bpf: selftests: include <sys/resource.h> to fix build error Colin King <colin.king@canonical.com> - 2016-11-28 12:50 +0100 Re: [PATCH net-next] bpf: selftests: include <sys/resource.h> to fix build error Daniel Borkmann <daniel@iogearbox.net> - 2016-11-28 13:30 +0100
csiph-web