This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] target.h: #include <sys/types.h>.
- From: Doug Evans <devans at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 23 Nov 2015 01:27:51 -0000
- Subject: [binutils-gdb] target.h: #include <sys/types.h>.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=37ce4055fe907b9edd25498dcda7a133dbd19784
commit 37ce4055fe907b9edd25498dcda7a133dbd19784
Author: Doug Evans <xdje42@gmail.com>
Date: Sun Nov 22 17:24:03 2015 -0800
target.h: #include <sys/types.h>.
For musl.
Diff:
---
gdb/gdbserver/ChangeLog | 4 ++++
gdb/gdbserver/target.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 0d2963a..4c06457 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -1,3 +1,7 @@
+2015-11-22 Doug Evans <xdje42@gmail.com>
+
+ * target.h: #include <sys/types.h>.
+
2015-11-19 Pedro Alves <palves@redhat.com>
* linux-low.c (linux_process_qsupported): Change prototype.
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h
index 6fa454d..358a8ab 100644
--- a/gdb/gdbserver/target.h
+++ b/gdb/gdbserver/target.h
@@ -21,6 +21,7 @@
#ifndef TARGET_H
#define TARGET_H
+#include <sys/types.h> /* for mode_t */
#include "target/target.h"
#include "target/resume.h"
#include "target/wait.h"