1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 11:01:50 +00:00
openmptcprouter-feeds/ndpi-netfilter2/patches/004-fix-compilation-on-arm.patch
Ycarus (Yannick Chabanois) 8d88557722 Fix NDPI on ARM
2023-12-25 09:33:20 +01:00

10 lines
430 B
Diff

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