summaryrefslogtreecommitdiff
path: root/src/gl/m4/select.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl/m4/select.m4')
-rw-r--r--src/gl/m4/select.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gl/m4/select.m4 b/src/gl/m4/select.m4
index 2a2ee6f901..d19365541e 100644
--- a/src/gl/m4/select.m4
+++ b/src/gl/m4/select.m4
@@ -1,5 +1,5 @@
-# select.m4 serial 7
-dnl Copyright (C) 2009-2015 Free Software Foundation, Inc.
+# select.m4 serial 8
+dnl Copyright (C) 2009-2016 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -7,6 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_SELECT],
[
AC_REQUIRE([gl_HEADER_SYS_SELECT])
+ AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
AC_REQUIRE([gl_SOCKETS])
if test "$ac_cv_header_winsock2_h" = yes; then