target.h: #include <sys/types.h>.
authorDoug Evans <xdje42@gmail.com>
Mon, 23 Nov 2015 01:24:03 +0000 (17:24 -0800)
committerDoug Evans <xdje42@gmail.com>
Mon, 23 Nov 2015 01:24:03 +0000 (17:24 -0800)
For musl.

gdb/gdbserver/ChangeLog
gdb/gdbserver/target.h

index 0d2963a6bf0569c6a824edd5e85c1816bfe1a24d..4c064574a13c5948d2f664395ad4c1969394d1b0 100644 (file)
@@ -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.
index 6fa454dfb4e6719d384762e364ea009a4a684fd8..358a8ab77a8307fa2aced2e65990648006b8302b 100644 (file)
@@ -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"