From b0ab9a151cdb820290638c0372ff10de75111308 Mon Sep 17 00:00:00 2001 From: Niko Date: Mon, 29 Aug 2022 20:53:09 +0300 Subject: [PATCH] from mozilla/lmdb : Use sys/cachectl.h rather than asm/cachectl.h on mips (b7df2ca) --- libraries/liblmdb/mdb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 917e729..eb19c4e 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -114,8 +114,7 @@ static NtCloseFunc *NtClose; #if defined(__mips) && defined(__linux) /* MIPS has cache coherency issues, requires explicit cache control */ -#include -extern int cacheflush(char *addr, int nbytes, int cache); +#include #define CACHEFLUSH(addr, bytes, cache) cacheflush(addr, bytes, cache) #else #define CACHEFLUSH(addr, bytes, cache)