0005-target.h-include-sys-types.h.patch 746 B

123456789101112131415161718192021222324252627282930
  1. From cd68d0ebe7748a5448c86eb021b717df6fe83f35 Mon Sep 17 00:00:00 2001
  2. From: Doug Evans <xdje42@gmail.com>
  3. Date: Sun, 22 Nov 2015 17:24:03 -0800
  4. Subject: [PATCH] target.h: #include <sys/types.h>.
  5. For musl.
  6. [Romain:
  7. rebase on gdb 7.10.1 from upstream (7.11)
  8. remove ChangeLog entry]
  9. Signed-off-by: Romain Naour <romain.naour@gmail.com>
  10. ---
  11. gdb/gdbserver/target.h | 1 +
  12. 1 file changed, 1 insertion(+)
  13. diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
  14. index 9a40867..6af043c 100644
  15. --- a/gdb/gdbserver/target.h
  16. +++ b/gdb/gdbserver/target.h
  17. @@ -21,6 +21,7 @@
  18. #ifndef TARGET_H
  19. #define TARGET_H
  20. +#include <sys/types.h> /* for mode_t */
  21. #include "target/target.h"
  22. #include "target/resume.h"
  23. #include "target/wait.h"
  24. --
  25. 2.5.5