aboutsummaryrefslogtreecommitdiff
path: root/sim/common
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/dv-sockser.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index ff0f4e2..19e93bb 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
2021-06-12 Mike Frysinger <vapier@gentoo.org>
+ * dv-sockser.c: Include sys/select.h.
+
+2021-06-12 Mike Frysinger <vapier@gentoo.org>
+
* Make-common.in: Delete SIM_ALIGNMENT.
* sim-config.c (sim_config): Change WITH_DEFAULT_ALIGNMENT to
NONSTRICT_ALIGNMENT.
diff --git a/sim/common/dv-sockser.c b/sim/common/dv-sockser.c
index ef652f6..7f1cf79 100644
--- a/sim/common/dv-sockser.c
+++ b/sim/common/dv-sockser.c
@@ -39,6 +39,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <sys/select.h>
#include <sys/socket.h>
#ifndef __CYGWIN32__