[vlc-commits] linux: Add signal.h header for SIGEV_THREAD symbol.
Vinson Lee
git at videolan.org
Sat Jun 17 14:35:11 CEST 2017
vlc | branch: master | Vinson Lee <vlee at freedesktop.org> | Sat Jun 17 00:55:03 2017 +0000| [6da67ca2a31cd0043333ef0f709bfacf0f2acf9a] | committer: Rémi Denis-Courmont
linux: Add signal.h header for SIGEV_THREAD symbol.
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>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6da67ca2a31cd0043333ef0f709bfacf0f2acf9a
---
src/linux/getaddrinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/linux/getaddrinfo.c b/src/linux/getaddrinfo.c
index 0df6db0260..aaba24df88 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>
More information about the vlc-commits
mailing list