[OpenIndiana-discuss] Using OI-userland to develop software

Udo Grabowski (IMK) udo.grabowski at kit.edu
Thu Jun 25 06:15:38 UTC 2015


On 25/06/2015 06:35, bentahyr at chez.com wrote:
>...
> ------- output ----------
> During compilation of code I fall onto the error :
> /usr/include/signal.h:144:1: error: unknown type name ‘sigset_t’
>   extern int sigwait(const sigset_t *_RESTRICT_KYWD, int *_RESTRICT_KYWD);
>   ^
> ------- end--------------
>
> Which is strange as sigset_t is defined in /usr/include/sys/signal.h
 >...

This seems to be wrapped in sys/signal.h by this test:

#if defined(__EXTENSIONS__) || defined(_KERNEL) || 
!defined(_STRICT_STDC) || \
         defined(__XOPEN_OR_POSIX)

see also sys/feature_tests.h included before that.




More information about the openindiana-discuss mailing list