From ad9cc2097049a04dc6fa0a593a59f4a3b4807c6f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 29 May 2021 16:07:43 -0400 Subject: sim: start unifying portability shims There are some functions that gnulib does not yet provide fallbacks for, so start a common file of our own for holding existing stubs. --- sim/cris/ChangeLog | 4 ++++ sim/cris/traps.c | 1 + 2 files changed, 5 insertions(+) (limited to 'sim/cris') diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 2f4be8d..4cbd808 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,5 +1,9 @@ 2021-06-12 Mike Frysinger + * traps.c: Include portability.h. + +2021-06-12 Mike Frysinger + * dv-rv.c: Delete HAVE_SYS_SELECT_H. * rvdummy.c: Likewise. diff --git a/sim/cris/traps.c b/sim/cris/traps.c index 99344a2..a55f7df 100644 --- a/sim/cris/traps.c +++ b/sim/cris/traps.c @@ -20,6 +20,7 @@ along with this program. If not, see . */ /* This must come before any other includes. */ #include "defs.h" +#include "portability.h" #include "sim-main.h" #include "sim-syscall.h" #include "sim-options.h" -- cgit v1.1