]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
capmt_ca: missing typedef
authorJaroslav Kysela <perex@perex.cz>
Mon, 13 Nov 2017 09:03:37 +0000 (10:03 +0100)
committerJaroslav Kysela <perex@perex.cz>
Mon, 13 Nov 2017 09:03:49 +0000 (10:03 +0100)
src/extra/capmt_ca.c

index a37e5d68b437f8ff50b6d6b8acfa84d4df6f4de5..e6e83e832e43f26fcf7059a760b01b0a73345f07 100644 (file)
 #include <errno.h>
 
 #ifndef CA_SET_PID /* removed in kernel 4.14 */
-struct ca_pid {
+typedef struct ca_pid {
   unsigned int pid;
   int index;           /* -1 == disable */
-};
+} ca_pid_t;
 #define CA_SET_PID _IOW('o', 135, struct ca_pid)
 #endif