termux-packages/packages/gdb/gdb_proc_service_lpwid_t.patch

13 lines
356 B
Diff

diff -u -r ../gdb-7.6.2/gdb/gdb_proc_service.h ./gdb/gdb_proc_service.h
--- ../gdb-7.6.2/gdb/gdb_proc_service.h 2013-12-08 05:11:51.000000000 +0100
+++ ./gdb/gdb_proc_service.h 2014-01-07 16:43:01.862311352 +0100
@@ -68,7 +68,7 @@
} ps_err_e;
#ifndef HAVE_LWPID_T
-typedef unsigned int lwpid_t;
+#include <thread_db.h>
#endif
#ifndef HAVE_PSADDR_T