summaryrefslogtreecommitdiff
path: root/system/gdb/remove-extraneous-include.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-22 21:26:28 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-22 21:26:28 -0500
commitc8f9f3c01c830ad95cde91757a65e3660373f961 (patch)
tree050cee752b2d2d6811414ab7d824336927931882 /system/gdb/remove-extraneous-include.patch
parent5f838f9667e0607ce0aabb2988cd4fc1a10729b3 (diff)
downloadpackages-c8f9f3c01c830ad95cde91757a65e3660373f961.tar.gz
packages-c8f9f3c01c830ad95cde91757a65e3660373f961.tar.bz2
packages-c8f9f3c01c830ad95cde91757a65e3660373f961.tar.xz
packages-c8f9f3c01c830ad95cde91757a65e3660373f961.zip
system/gdb: [PD] bump, take, fix
Diffstat (limited to 'system/gdb/remove-extraneous-include.patch')
-rw-r--r--system/gdb/remove-extraneous-include.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/gdb/remove-extraneous-include.patch b/system/gdb/remove-extraneous-include.patch
new file mode 100644
index 000000000..62ed1300f
--- /dev/null
+++ b/system/gdb/remove-extraneous-include.patch
@@ -0,0 +1,12 @@
+--- gdb-8.1/gdb/nat/linux-osdata.c.old 2018-01-04 22:07:23.000000000 -0600
++++ gdb-8.1/gdb/nat/linux-osdata.c 2018-06-22 04:31:42.655497623 -0500
+@@ -23,7 +23,8 @@
+ #include <sys/types.h>
+ #include <sys/sysinfo.h>
+ #include <ctype.h>
+-#include <utmp.h>
++#include <limits.h>
++#define UT_NAMESIZE LOGIN_NAME_MAX
+ #include <time.h>
+ #include <unistd.h>
+ #include <pwd.h>