[mythtv] [mythtv-commits] Ticket #7288: mythmainwindow needs include unistd.h after  for win32
nigel at ind.tansu.com.au
Thu Nov 5 23:35:31 UTC 2009
> One way to resolve this is adding a line before the #endif's in the
> sched.h patch from #5980:
> #define _pid_t pid_t
> Normally, types.h (included from unistd.h) defines both pid_t and
> _pid_t, but in this case, sched.h (included from pthread.h) is
> processed first and leaves _pid_t undefined.
Even better - put compat.h before pthread.h in libavformat/mpegts.c!
Thanks for the hunt, Jeff. I will commit something soon.
Nigel Pearson, nigel at ind.tansu.com.au| "Peacemaking is our profession"|
Telstra Net. Eng., Sydney, Australia |Motto of Burpelson Airforce Base|
Office: 9202 3900 Fax: 9212 6348 |Commanded by Gen. Jack D. Ripper|
Mobile: 0408 664435 Home: 9792 6998 | Dr Strangelove |
More information about the mythtv-dev