Fixed OpenWRT arm related build issues. (#2104)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -310,9 +310,10 @@
|
||||
#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__)
|
||||
static inline u_int64_t get_u_int64_t(const u_int8_t* X, int O)
|
||||
#include <stdint.h>
|
||||
static inline uint64_t get_u_int64_t(const uint8_t* X, int O)
|
||||
{
|
||||
u_int64_t tmp;
|
||||
uint64_t tmp;
|
||||
memcpy(&tmp, X + O, sizeof(tmp));
|
||||
return tmp;
|
||||
}
|
||||
|
||||
Vendored
-1
@@ -4298,7 +4298,6 @@ int run_run_container_ixor(
|
||||
|
||||
#ifndef WIN32
|
||||
#include "ndpi_config.h"
|
||||
#include "ndpi_typedefs.h"
|
||||
|
||||
#define NDPI_REPLACE_FPRINTF
|
||||
#include "../../ndpi_replace_printf.h"
|
||||
|
||||
Reference in New Issue
Block a user