fatal error: sys/eventfd.h: No such file or directory
<p>I try to build nanomsg for Android </p>

<pre><code>~/work/android-ndk-r10e/ndk-build 
</code></pre>

<p>and I have error:</p>

<pre><code>In file included from /home/roman/work/Nano/app/jni/src/utils/efd.c:28:0:
/home/roman/work/Nano/app/jni/src/utils/efd_eventfd.inc:27:25: fatal error: sys/eventfd.h: No such file or directory
 #include &lt;sys/eventfd.h&gt;
                         ^
compilation terminated.
make: *** [/home/roman/work/Nano/app/obj/local/armeabi/objs/nano/src/utils/efd.o] Error 1
</code></pre>

<p>But I see bionic contains this file (see <a href="https://github.com/android/platform_bionic/blob/master/libc/include/sys/eventfd.h" rel="nofollow">here</a>).</p>

<p>I can't understand what is wrong!
I use this Android.mk: <a href="https://gist.github.com/kristianlm/27d12ca7e4b2ef8e89fc" rel="nofollow">https://gist.github.com/kristianlm/27d12ca7e4b2ef8e89fc</a></p>

<p>Can anybody help me with it?
Thanks!</p>