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 0d2963a..4c06457 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 6fa454d..358a8ab 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"