aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/target.h
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/target.h
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/target.h')
-rw-r--r--gdb/gdbserver/target.h1
1 files changed, 1 insertions, 0 deletions
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"