umlaeute / v4l2loopback

v4l2-loopback device
GNU General Public License v2.0
3.61k stars 515 forks source link

Fix compilation issues under AOSP #530

Closed sanbrother closed 1 year ago

sanbrother commented 1 year ago

I failed to compile under AOSP, and then I found that __poll_t is defined since kernel 4.16 So, I change one line of code, and that works.

Maybe, #if defined() only works with types like these:

define __poll_t (unsigned int)

I'm not quite sure. Would you please spend some time to check if this PR is correct?