]> Savannah Git Hosting - gnulib.git/commitdiff
Revert "Revert "select: Fix build error on IRIX 6.5.""
authorSimon Josefsson <simon@josefsson.org>
Tue, 22 May 2012 12:35:13 +0000 (14:35 +0200)
committerSimon Josefsson <simon@josefsson.org>
Tue, 22 May 2012 12:35:13 +0000 (14:35 +0200)
This reverts commit 4bacd42cee65eb44bd3aabfb01ac682fa9c7a3ce.

ChangeLog
lib/select.c

index 9eacc294ed4a09b4605a469d97f059cb46f1e225..cbc2dd0cbccbccbec90c83398cd28a8590f218e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        fd_sets.  Check for zero result and loop if the wait timeout is
        infinite.
 
+2012-05-21  Simon Josefsson  <simon@josefsson.org>
+
+       select: Fix build error on IRIX 6.5.
+       * lib/select.c: Include stddef.h for NULL.
+
 2012-05-21  Simon Josefsson  <simon@josefsson.org>
 
        gc: fix libgcrypt detection on older machines.
index e7ca97cd54483089b5a2b7639c7d7bddf94d9f3f..4db09a353d8087bedd80e0de317b423a77a6102f 100644 (file)
@@ -506,6 +506,7 @@ restart:
 #else /* ! Native Windows.  */
 
 #include <sys/select.h>
+#include <stddef.h> /* NULL */
 
 #undef select