aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2015-11-22 17:24:03 -0800
committerDoug Evans <xdje42@gmail.com>2015-11-22 17:24:03 -0800
commit37ce4055fe907b9edd25498dcda7a133dbd19784 (patch)
tree383af9a15cf65e67acec2d8f5571ad8d30f0e636 /gdb/gdbserver
parentd41fc1249b1365a5373354d6c5aba1dd1ac7af50 (diff)
downloadgdb-37ce4055fe907b9edd25498dcda7a133dbd19784.zip
gdb-37ce4055fe907b9edd25498dcda7a133dbd19784.tar.gz
gdb-37ce4055fe907b9edd25498dcda7a133dbd19784.tar.bz2
target.h: #include <sys/types.h>.
For musl.
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/target.h1
2 files changed, 5 insertions, 0 deletions
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"