1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2023-12-25 09:33:20 +01:00
parent 95cdac78e2
commit 8d88557722

View 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;