From 2d9685d7989d99da0df4871e24c79ebee4192283 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Tue, 15 Mar 2016 07:48:05 -0700
Subject: [PATCH] select: port more to Intel 2016.1.150 compiler
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Problem reported by Balázs Hajgató in:
http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00036.html
* m4/select.m4 (gl_FUNC_SELECT): Require AC_C_RESTRICT.
---
 ChangeLog    | 7 +++++++
 m4/select.m4 | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index d89c5f1..c3470b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-03-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+	select: port more to Intel 2016.1.150 compiler
+	Problem reported by Balázs Hajgató in:
+	http://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00036.html
+	* m4/select.m4 (gl_FUNC_SELECT): Require AC_C_RESTRICT.
+
 2016-03-14  Paul Eggert  <eggert@cs.ucla.edu>
 
 	select: try to port to 2016.1.150 compiler
diff --git a/m4/select.m4 b/m4/select.m4
index 00182fd..d193655 100644
--- a/m4/select.m4
+++ b/m4/select.m4
@@ -1,4 +1,4 @@
-# select.m4 serial 7
+# 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,
@@ -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
-- 
2.5.0

