From: Arnaldo Carvalho de Melo Date: Tue, 20 Aug 2019 15:01:38 +0000 (-0300) Subject: tools headers: Add limits.h to access __WORDSIZE X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6e98bc349ea4219e21785d85809b10bd49e722df;p=openwrt%2Fstaging%2Fblogic.git tools headers: Add limits.h to access __WORDSIZE We need to make sure limits.h is included before checking if we can use __WORDSIZE, do it. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-5yfoed4rnsck2n3cwhm9mvth@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/include/linux/bitops.h b/tools/include/linux/bitops.h index 0b0ef3abc966..140c8362f113 100644 --- a/tools/include/linux/bitops.h +++ b/tools/include/linux/bitops.h @@ -3,6 +3,7 @@ #define _TOOLS_LINUX_BITOPS_H_ #include +#include #ifndef __WORDSIZE #define __WORDSIZE (__SIZEOF_LONG__ * 8) #endif