* lib/select.c: Include <sys/select.h>.
+2020-09-05 Bruno Haible <bruno@clisp.org>
+
+ select: Fix "warning: no previous prototype for function".
+ * lib/select.c: Include <sys/select.h>.
+
2020-09-05 Bruno Haible <bruno@clisp.org>
Use module 'c99' when needed for variadic macros with '...' syntax.
with this program; if not, see <https://www.gnu.org/licenses/>. */
#include <config.h>
-#include <alloca.h>
-#include <assert.h>
+
+/* Specification. */
+#include <sys/select.h>
#if defined _WIN32 && ! defined __CYGWIN__
/* Native Windows. */
+#include <alloca.h>
+#include <assert.h>
#include <sys/types.h>
#include <errno.h>
#include <limits.h>
#else /* ! Native Windows. */
-#include <sys/select.h>
#include <stddef.h> /* NULL */
#include <errno.h>
#include <unistd.h>