diff --git a/develop/gdb/legacy_sus.patch b/develop/gdb/legacy_sus.patch index 614d9aa3b..15a7c582b 100644 --- a/develop/gdb/legacy_sus.patch +++ b/develop/gdb/legacy_sus.patch @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../gdb/legacy_sus.patch -# Copyright (C) 2010 - 2011 The OpenSDE Project +# Copyright (C) 2010 - 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -21,7 +21,15 @@ diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 44a2a21..4e70f80 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c -@@ -856,7 +856,8 @@ holding the child stopped. Try \"set detach-on-fork\" or \ +@@ -66,6 +66,7 @@ + #include "exceptions.h" + #include "linux-ptrace.h" + #include "buffer.h" ++#include /* for nanosleep */ + + #ifndef SPUFS_MAGIC + #define SPUFS_MAGIC 0x23c9b64e +@@ -841,7 +842,8 @@ "LCFF: no VFORK_DONE " "support, sleeping a bit\n");