140-sgidefs.patch 847 B

123456789101112131415161718192021222324252627282930
  1. From 677b5b56135141c0d259e370aacd0e11c810aa15 Mon Sep 17 00:00:00 2001
  2. From: Andre McCurdy <armccurdy@gmail.com>
  3. Date: Fri, 5 Feb 2016 14:00:00 -0800
  4. Subject: [PATCH] use <asm/sgidefs.h>
  5. Build fix for MIPS with musl libc
  6. The MIPS specific header <sgidefs.h> is provided by glibc and uclibc
  7. but not by musl. Regardless of the libc, the kernel headers provide
  8. <asm/sgidefs.h> which provides the same definitions, so use that
  9. instead.
  10. Upstream-Status: Pending
  11. Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
  12. ---
  13. gdb/mips-linux-nat.c | 2 +-
  14. 1 file changed, 1 insertion(+), 1 deletion(-)
  15. --- a/gdb/mips-linux-nat.c
  16. +++ b/gdb/mips-linux-nat.c
  17. @@ -31,7 +31,7 @@
  18. #include "gdb_proc_service.h"
  19. #include "gregset.h"
  20. -#include <sgidefs.h>
  21. +#include <asm/sgidefs.h>
  22. #include "nat/gdb_ptrace.h"
  23. #include <asm/ptrace.h>
  24. #include "inf-ptrace.h"