
danielk at cuymedia
Nov 5, 2009, 6:22 PM
Post #6 of 7
(1003 views)
Permalink
|
|
Re: [mythtv-commits] Ticket #7288: mythmainwindow needs include unistd.h after [22350] for win32
[In reply to]
|
|
On Fri, 2009-11-06 at 10:35 +1100, Nigel Pearson wrote: > > 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. compat.h should not go in libavformat/mpegts.c. libavformat should not depend on any MythTV specific headers. I believe ffmpeg compiles under MINGW, so we should be able to use whatever is used upstream. -- Daniel _______________________________________________ mythtv-dev mailing list mythtv-dev [at] mythtv http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
|