[mythtv] /libs/libmyth/audiooutputbase.cpp

Kevin Kuphal kuphal at dls.net
Sun Nov 7 02:28:47 UTC 2004


Christian Hack wrote:

>>-----Original Message-----
>>From: mythtv-dev-bounces at mythtv.org 
>>[mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of Ed Wildgoose
>>Sent: Tuesday, 2 November 2004 9:48 AM
>>To: Development of mythtv
>>Subject: Re: [mythtv] /libs/libmyth/audiooutputbase.cpp
>>
>>
>>Christian Hack wrote:
>>
>>    
>>
>>>/libs/libmyth/audiooutputbase.cpp seems to require these 
>>>      
>>>
>>includes otherwise
>>    
>>
>>>current CVS won't compile for me.
>>>
>>>#include <sys/types.h>       
>>>#include <unistd.h>
>>>
>>>      
>>>
>>Do you need sys/types.h as well?  I added the second line in 
>>my latest 
>>patch (under the title Volume patch)? 
>>
>>It needs a couple of minor fixes to the alsa code, but I hope 
>>apart from 
>>that it will slip into cvs shortly...
>>
>>    
>>
>
>Not sure about <sys/types.h>. I just looked at the man page for getpid and
>it showed both sys/types.h and unistd.h.
>
>I don't really know which include was required exactly. Only that adding
>both made it compile. I can find out for you when I get home if you like
>since I'm guessing it compiled OK for you.
>  
>
Just a note, I encountered this problem as well and only needed unistd.h 
included, not sys/types.h

Kevin



More information about the mythtv-dev mailing list