select: Fix build error on IRIX 6.5.
authorSimon Josefsson <simon@josefsson.org>
Mon, 21 May 2012 20:34:41 +0000 (22:34 +0200)
committerSimon Josefsson <simon@josefsson.org>
Mon, 21 May 2012 20:34:41 +0000 (22:34 +0200)
ChangeLog
lib/select.c

index 89e2f1d..18cb1a8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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
index 377d549..7cd6894 100644 (file)
@@ -482,6 +482,7 @@ rpl_select (int nfds, fd_set *rfds, fd_set *wfds, fd_set *xfds,
 #else /* ! Native Windows.  */
 
 #include <sys/select.h>
+#include <stddef.h> /* NULL */
 
 #undef select