[mythtv] [mythtv-commits] Ticket #7288: mythmainwindow needs include unistd.h after [22350] for win32

Nigel Pearson nigel at ind.tansu.com.au
Thu Nov 5 03:50:14 UTC 2009

> i think there have been a total of 5 different bug reports for what  
> is after all a one line change in the code
> does it break the build on any platform to add this include file?

It doesn't seem to in my testing (so far),
but the hope was to move this sort of stuff
in compat.h, not individual source files.

Adding unistd.h in compat.h breaks pthread.c
compile down in MinGW GCC headers. cf #5980.
I'm still exploring why.

Nigel Pearson, nigel at ind.tansu.com.au|
Telstra Net. Eng., Sydney, Australia |
Office: 9202 3900    Fax:  9212 6348 |
Mobile: 0408 664435  Home: 9792 6998 |

More information about the mythtv-dev mailing list