0001-add-missing-include.patch 625 B

12345678910111213141516171819202122
  1. Add missing include <sys/types.h>
  2. This include is needed to get the pid_t definition, at least with the
  3. musl C library.
  4. Patch inspired from Alpine Linux patch
  5. http://git.alpinelinux.org/cgit/aports/tree/main/libcap-ng/fix-includes.patch.
  6. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  7. Index: b/utils/proc-llist.h
  8. ===================================================================
  9. --- a/utils/proc-llist.h
  10. +++ b/utils/proc-llist.h
  11. @@ -26,6 +26,7 @@
  12. #include "config.h"
  13. +#include <sys/types.h>
  14. /* This is the node of the linked list. Any data elements that are per
  15. * record goes here. */