[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: select.c:496: error: `NULL' undeclared
From: |
Bruno Haible |
Subject: |
Re: select.c:496: error: `NULL' undeclared |
Date: |
Tue, 22 May 2012 11:44:08 +0200 |
User-agent: |
KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; ) |
Simon Josefsson wrote:
> select.c: In function `rpl_select':
> select.c:496: error: `NULL' undeclared (first use in this function)
Thanks for the fix. But that code was meant to be compiled only on
Interix systems, not on IRIX.
> I got this error on a IRIX 6.5 system:
>
> checking for sys/select.h... yes
> checking whether <sys/select.h> is self-contained... no
> checking whether pselect is declared without a macro... no
> checking whether select is declared without a macro... no
> checking whether select supports a 0 argument... no
This is probably also a consequence of using -D_POSIX_SOURCE. In my
IRIX 6.5 'cc' builds, I always get
checking for sys/select.h... yes
checking whether <sys/select.h> is self-contained... no
checking whether pselect is declared without a macro... no
checking whether select is declared without a macro... yes
checking whether select supports a 0 argument... yes
Bruno