The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libcap-ng / 0001-add-missing-include.patch
1 Add missing include <sys/types.h>
2
3 This include is needed to get the pid_t definition, at least with the
4 musl C library.
5
6 Patch inspired from Alpine Linux patch
7 http://git.alpinelinux.org/cgit/aports/tree/main/libcap-ng/fix-includes.patch.
8
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10
11 Index: b/utils/proc-llist.h
12 ===================================================================
13 --- a/utils/proc-llist.h
14 +++ b/utils/proc-llist.h
15 @@ -26,6 +26,7 @@
16  
17  #include "config.h"
18  
19 +#include <sys/types.h>
20  
21  /* This is the node of the linked list. Any data elements that are per
22   *  record goes here. */