aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cris/configure.ac')
-rw-r--r--sim/cris/configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/sim/cris/configure.ac b/sim/cris/configure.ac
index 1eee817..56afe58 100644
--- a/sim/cris/configure.ac
+++ b/sim/cris/configure.ac
@@ -5,7 +5,11 @@ AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config])
SIM_AC_COMMON
# For dv-rv and rvdummy.
-AC_CHECK_HEADERS(sys/socket.h sys/select.h sys/param.h)
+AC_CHECK_HEADERS_ONCE(m4_flatten([
+ sys/param.h
+ sys/select.h
+ sys/socket.h
+]))
SIM_AC_OPTION_ENDIAN(LITTLE)
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)