changeset 16867:5cd96b6a73b5

select: Fix build error on IRIX 6.5.
author Simon Josefsson <simon@josefsson.org>
date Mon, 21 May 2012 22:34:41 +0200
parents 51af75f2ff31
children 1def4f23c989
files ChangeLog lib/select.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
--- a/lib/select.c
+++ b/lib/select.c
@@ -482,6 +482,7 @@
 #else /* ! Native Windows.  */
 
 #include <sys/select.h>
+#include <stddef.h> /* NULL */
 
 #undef select