summaryrefslogtreecommitdiff
path: root/sim/m32c/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/configure.ac')
-rw-r--r--sim/m32c/configure.ac8
1 files changed, 7 insertions, 1 deletions
diff --git a/sim/m32c/configure.ac b/sim/m32c/configure.ac
index 789bce45a02..a69fa128293 100644
--- a/sim/m32c/configure.ac
+++ b/sim/m32c/configure.ac
@@ -25,6 +25,12 @@ SIM_AC_COMMON
SIM_AC_OPTION_WARNINGS(no)
-AC_CHECK_HEADERS(sys/select.h termios.h sys/socket.h netinet/in.h netinet/tcp.h)
+AC_CHECK_HEADERS_ONCE(m4_flatten([
+ termios.h
+ netinet/in.h
+ netinet/tcp.h
+ sys/select.h
+ sys/socket.h
+]))
SIM_AC_OUTPUT