--- a/CA.h 2017-03-28 11:14:07.000000000 +0200 +++ b/CA.h 2018-03-27 00:47:51.231750662 +0200 @@ -9,4 +9,12 @@ unsigned char cw[16]; } ca_descr_aes_t; +#ifndef CA_SET_PID /* removed in kernel 4.14 */ +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 + +#endif // __CA_H