diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-05-29 15:20:28 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-12 22:19:30 -0400 |
commit | 2726bbc3391eddf0f75da56011137d327a156aab (patch) | |
tree | 6654c280a2cb29802f304a5321c036deb6113f79 /sim/lm32 | |
parent | a80249d0a9da850e8971f45beb435ad4f154447d (diff) | |
download | binutils-2726bbc3391eddf0f75da56011137d327a156aab.zip binutils-2726bbc3391eddf0f75da56011137d327a156aab.tar.gz binutils-2726bbc3391eddf0f75da56011137d327a156aab.tar.bz2 |
sim: assume sys/select.h always exists
Now that gnulib provides this, assume it exists.
Diffstat (limited to 'sim/lm32')
-rw-r--r-- | sim/lm32/ChangeLog | 4 | ||||
-rw-r--r-- | sim/lm32/dv-lm32uart.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 3223d90..d47e165 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,5 +1,9 @@ 2021-06-12 Mike Frysinger <vapier@gentoo.org> + * dv-lm32uart.c: Include sys/select.h. + +2021-06-12 Mike Frysinger <vapier@gentoo.org> + * configure.ac: Delete call to SIM_AC_OPTION_ALIGNMENT. * sim-if.c (sim_open): Set current_alignment. diff --git a/sim/lm32/dv-lm32uart.c b/sim/lm32/dv-lm32uart.c index 1f8ba1d..68f02a3 100644 --- a/sim/lm32/dv-lm32uart.c +++ b/sim/lm32/dv-lm32uart.c @@ -26,6 +26,7 @@ #include "sim-assert.h" #include <stdio.h> +#include <sys/select.h> #include <sys/time.h> struct lm32uart |