[Android] eventfd: fix warning
Rafaël Carré
git at videolan.org
Tue Oct 16 18:35:18 CEST 2012
vlc-ports/android | branch: master | Rafaël Carré <funman at videolan.org> | Tue Oct 16 18:34:54 2012 +0200| [059e98801a45434aecac49dc76035c951d7eca1c] | committer: Rafaël Carré
eventfd: fix warning
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=059e98801a45434aecac49dc76035c951d7eca1c
---
vlc-android/jni/eventfd.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/vlc-android/jni/eventfd.c b/vlc-android/jni/eventfd.c
index 9aa6d9b..b16d54e 100644
--- a/vlc-android/jni/eventfd.c
+++ b/vlc-android/jni/eventfd.c
@@ -20,8 +20,9 @@
*****************************************************************************/
#include <sys/linux-syscalls.h>
-#include <sys/syscall.h>
-#include <errno.h>
+
+//#include <sys/syscall.h>
+int syscall(int number, ...);
int eventfd(unsigned int initval, int flags)
{
More information about the Android
mailing list