summaryrefslogblamecommitdiff
path: root/system/gdb/remove-extraneous-include.patch
blob: 62ed1300fa7e9c6a3b903648188716f168c3f364 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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>