Fix compilation on Windows (#2072)
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
#ifndef _MURMURHASH3_H_
|
||||
#define _MURMURHASH3_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "ndpi_includes.h"
|
||||
|
||||
uint32_t MurmurHash(const void * key, uint32_t len, uint32_t seed);
|
||||
|
||||
|
||||
Vendored
+1
@@ -25,3 +25,4 @@ extern int hll_init(struct ndpi_hll *hll, u_int8_t bits);
|
||||
extern void hll_destroy(struct ndpi_hll *hll);
|
||||
extern int hll_add(struct ndpi_hll *hll, const void *buf, size_t size);
|
||||
extern double hll_count(const struct ndpi_hll *hll);
|
||||
extern void hll_reset(struct ndpi_hll *hll);
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*-----------------------------------------------------------------------------
|
||||
MurmurHash3 was written by Austin Appleby, and is placed in the public
|
||||
domain. The author hereby disclaims copyright to this source code.
|
||||
xo*/
|
||||
*/
|
||||
|
||||
#include "MurmurHash3.h"
|
||||
|
||||
|
||||
Vendored
+3
-1
@@ -26,7 +26,9 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <ndpi_api.h>
|
||||
#include <ndpi_main.h>
|
||||
#include "ndpi_typedefs.h"
|
||||
#include "../include/MurmurHash3.h"
|
||||
#include "../include/hll.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user