
nigel at ind
Nov 5, 2009, 3:35 PM
Post #5 of 7
(327 views)
Permalink
|
|
Re: [mythtv-commits] Ticket #7288: mythmainwindow needs include unistd.h after [22350] for win32
[In reply to]
|
|
> 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 | _______________________________________________ mythtv-dev mailing list mythtv-dev[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
|