[mythtv] compiling recent commits
Gavin Hurlbut
gjhurlbu at gmail.com
Thu Jun 23 18:03:54 UTC 2011
On Thu, Jun 23, 2011 at 10:59 AM, David Morrison <dave at bnl.gov> wrote:
> > What in particular is requiring unistd.h here?
>
> This commit:
>
> e4248d47 (Gavin Hurlbut 2011-04-28 11:09:24 -0700 177)
> pid_t m_pid;
>
> without unistd.h pid_t isn't defined.
>
hehe, crap. So it is. I guess Linux headers have it defined in several
places as it's never been an issue, but yes, I see that you are supposed to
have it for getpid() calls, so good catch.
Thanks for satisfying my curiosity. I'll look at getting that patched in
shortly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-dev/attachments/20110623/0082d556/attachment.html
More information about the mythtv-dev
mailing list