[vlc-devel] [PATCH] linux: Add signal.h header for SIGEV_THREAD symbol.
Vinson Lee
vlee at freedesktop.org
Sat Jun 17 02:55:03 CEST 2017
Fix this build error.
CC linux/getaddrinfo.lo
linux/getaddrinfo.c: In function ‘vlc_getaddrinfo_i11e’:
linux/getaddrinfo.c:62:25: error: ‘SIGEV_THREAD’ undeclared (first use in this function); did you mean ‘CLONE_THREAD’?
.sigev_notify = SIGEV_THREAD,
^~~~~~~~~~~~
CLONE_THREAD
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/linux/getaddrinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/linux/getaddrinfo.c b/src/linux/getaddrinfo.c
index 0df6db026084..aaba24df8877 100644
--- a/src/linux/getaddrinfo.c
+++ b/src/linux/getaddrinfo.c
@@ -25,6 +25,7 @@
#include <assert.h>
#include <stdio.h>
#include <netdb.h>
+#include <signal.h>
#include <vlc_common.h>
#include <vlc_interrupt.h>
--
2.13.1
More information about the vlc-devel
mailing list