In article <5587B93B.5020108%gmx.com@localhost>, Kamil Rytarowski <n54%gmx.com@localhost> wrote: >http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html says: >'The <signal.h> header shall define the timespec structure as described >in <time.h>.' > >For the following code: >#include <signal.h> >struct timespec ts; >int main(){} > >I get: >error: storage size of â??tsâ?? isnâ??t known > struct timespec ts; > >I added <sys/time.h> to <sys/siginfo.h> to follow >http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/sys/siginfo.h.diff?r1=1.5&r2=1.6&f=h > >Is this change ok? Yes, I think it is fine since siginfo.h is not included from any other userland visible posix headers aside signal related ones (it is included in sys/proc.h too but that is not posix). christos