mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2025-12-30 11:18:06 +03:00
Fix compilationg errors for some kernels
This commit is contained in:
7
utils.c
7
utils.c
@@ -7,6 +7,13 @@
|
||||
#include <libnetfilter_queue/libnetfilter_queue_ipv4.h>
|
||||
#include <libnetfilter_queue/libnetfilter_queue_ipv6.h>
|
||||
#include <libnetfilter_queue/libnetfilter_queue_tcp.h>
|
||||
#else
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24))
|
||||
#include <net/ip6_checksum.h>
|
||||
#include <net/checksum.h>
|
||||
#else
|
||||
#include <net/checksum.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user