You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
788 B

  1. From d90534469c5c43bf2a97e5698a5ddb4b7471f92a Mon Sep 17 00:00:00 2001
  2. From: Changqing Li <changqing.li@windriver.com>
  3. Date: Tue, 24 Jul 2018 10:53:16 +0800
  4. Subject: [PATCH] libldb: fix musl libc unkoown type error
  5. tevent.h:1440:8: error: unknown type name 'pid_t'; did you mean 'div_t'?
  6. pid_t *pid,
  7. ^~~~~
  8. div_t
  9. Signed-off-by: Changqing Li <changqing.li@windriver.com>
  10. ---
  11. lib/tevent/tevent.h | 2 ++
  12. 1 file changed, 2 insertions(+)
  13. diff --git a/lib/tevent/tevent.h b/lib/tevent/tevent.h
  14. index aa6fe0d..2572696 100644
  15. --- a/lib/tevent/tevent.h
  16. +++ b/lib/tevent/tevent.h
  17. @@ -32,6 +32,8 @@
  18. #include <talloc.h>
  19. #include <sys/time.h>
  20. #include <stdbool.h>
  21. +#include <sys/stat.h>
  22. +#include <sys/types.h>
  23. struct tevent_context;
  24. struct tevent_ops;
  25. --
  26. 2.7.4