changeset 16872:9414f434742e

Revert "Revert "select: Fix build error on IRIX 6.5."" This reverts commit 4bacd42cee65eb44bd3aabfb01ac682fa9c7a3ce.
author Simon Josefsson <simon@josefsson.org>
date Tue, 22 May 2012 14:35:13 +0200
parents a66bb8f4b303
children d3ae42d4a75f
files ChangeLog lib/select.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,11 @@
 
 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.
 	* m4/gc.m4: Reject libgcrypt earlier than 1.4.4.  Collapse
 	copyright years because the file has been distributed every year
--- a/lib/select.c
+++ b/lib/select.c
@@ -506,6 +506,7 @@
 #else /* ! Native Windows.  */
 
 #include <sys/select.h>
+#include <stddef.h> /* NULL */
 
 #undef select