aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-29 15:20:28 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-12 22:19:30 -0400
commit2726bbc3391eddf0f75da56011137d327a156aab (patch)
tree6654c280a2cb29802f304a5321c036deb6113f79 /sim/m32c
parenta80249d0a9da850e8971f45beb435ad4f154447d (diff)
downloadgdb-2726bbc3391eddf0f75da56011137d327a156aab.zip
gdb-2726bbc3391eddf0f75da56011137d327a156aab.tar.gz
gdb-2726bbc3391eddf0f75da56011137d327a156aab.tar.bz2
sim: assume sys/select.h always exists
Now that gnulib provides this, assume it exists.
Diffstat (limited to 'sim/m32c')
-rw-r--r--sim/m32c/ChangeLog4
-rw-r--r--sim/m32c/mem.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index 270b590..8d3e606 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -1,5 +1,9 @@
2021-06-12 Mike Frysinger <vapier@gentoo.org>
+ * mem.c: Delete HAVE_SYS_SELECT_H.
+
+2021-06-12 Mike Frysinger <vapier@gentoo.org>
+
* aclocal.m4, config.in, configure: Regenerate.
2021-06-12 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/m32c/mem.c b/sim/m32c/mem.c
index 243b7c4..bc293aa 100644
--- a/sim/m32c/mem.c
+++ b/sim/m32c/mem.c
@@ -29,9 +29,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
-#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
-#endif
#ifdef HAVE_TERMIOS_H
#include <termios.h>
#endif