Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed OpenWRT arm related build issues. #2104

Merged
merged 1 commit into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/include/ndpi_define.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
1 change: 0 additions & 1 deletion src/lib/third_party/src/roaring.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading