mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 11:31:51 +00:00
Fix NDPI on ARM
This commit is contained in:
parent
95cdac78e2
commit
8d88557722
1 changed files with 10 additions and 0 deletions
10
ndpi-netfilter2/patches/004-fix-compilation-on-arm.patch
Normal file
10
ndpi-netfilter2/patches/004-fix-compilation-on-arm.patch
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- a/src/include/ndpi_define.h.in 2023-12-25 08:45:56.692170223 +0100
|
||||
+++ b/src/include/ndpi_define.h.in 2023-12-25 08:46:11.595904820 +0100
|
||||
@@ -326,7 +326,6 @@
|
||||
#define get_u_int16_t(X,O) (*(u_int16_t *)((&(((u_int8_t *)X)[O]))))
|
||||
#define get_u_int32_t(X,O) (*(u_int32_t *)((&(((u_int8_t *)X)[O]))))
|
||||
#if defined(__arm__)
|
||||
-#include <stdint.h>
|
||||
static inline uint64_t get_u_int64_t(const uint8_t* X, int O)
|
||||
{
|
||||
uint64_t tmp;
|
Loading…
Reference in a new issue