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.

26 lines
756 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. --- a/lib/tevent/tevent.h
  14. +++ b/lib/tevent/tevent.h
  15. @@ -32,6 +32,8 @@
  16. #include <talloc.h>
  17. #include <sys/time.h>
  18. #include <stdbool.h>
  19. +#include <sys/stat.h>
  20. +#include <sys/types.h>
  21. /* for old gcc releases that don't have the feature test macro __has_attribute */
  22. #ifndef __has_attribute