summaryrefslogtreecommitdiffstats
path: root/main/gdb/gdb-linux_osdata.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gdb/gdb-linux_osdata.patch')
-rw-r--r--main/gdb/gdb-linux_osdata.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gdb/gdb-linux_osdata.patch b/main/gdb/gdb-linux_osdata.patch
new file mode 100644
index 000000000..aa2a392f4
--- /dev/null
+++ b/main/gdb/gdb-linux_osdata.patch
@@ -0,0 +1,10 @@
+--- gdb-7.6/gdb/common/linux-osdata.c.orig
++++ gdb-7.6/gdb/common/linux-osdata.c
+@@ -27,6 +27,7 @@
+
+ #include <sys/types.h>
+ #include <sys/sysinfo.h>
++#include <sys/socket.h>
+ #include <ctype.h>
+ #include <stdlib.h>
+ #include <string.h>