Include required headers into pth.h.
authorWerner Koch <wk@gnupg.org>
Thu, 10 May 2012 16:47:00 +0000 (18:47 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 10 May 2012 16:47:00 +0000 (18:47 +0200)
commit09f3fccf2cf7c03fd16ebce26ae5ff2ee58effc7
tree0fd1f81778f8400058e58fd9508a4239f3a12cf6
parent957044558c489ce55835501e4c2dc30d6a28dc79
Include required headers into pth.h.

* src/npth.h.in: Include sys/time.h and signal.h.  Include time.h only
if available.
* configure.ac (INSERT_SYS_TIME_H, INSERT_TIME_H, INSERT_SIGNAL_H):
Detect header files and ac_subst snippets.
--

sys/time.h is required for struct timeval and signal.h for sigset_t.
Without that them the regression test fails on IRIX.  Conditional
inclusion of these files might not bee required, but it should not
harm, either.
configure.ac
src/npth.h.in