Commit 6da67ca2 authored by Vinson Lee's avatar Vinson Lee Committed by 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: default avatarVinson Lee <vlee@freedesktop.org>
Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent 34cd9656
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <stdio.h>
#include <netdb.h> #include <netdb.h>
#include <signal.h>
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_interrupt.h> #include <vlc_interrupt.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment