This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]