From: Nathan Moos Date: Fri, 15 Jan 2021 22:03:01 +0000 (-0800) Subject: svm: add standard include for __WORDSIZE X-Git-Tag: v21.10-rc0~701 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F84%2F30784%2F7;p=vpp.git svm: add standard include for __WORDSIZE Type: fix In glibc, the __WORDSIZE macro is defined in a header included indirectly from svm_common.h. In musl, the __WORDSIZE macro is not indirectly included, so this patch directly includes to ensure the __WORDSIZE macro is available. Change-Id: If1b1fc97161b7a0b2e82351d4776c81c36a323cb Signed-off-by: Nathan Moos --- diff --git a/src/svm/svm_common.h b/src/svm/svm_common.h index 3a3db5d2f3c..1f1132afdc2 100644 --- a/src/svm/svm_common.h +++ b/src/svm/svm_common.h @@ -20,6 +20,7 @@ #include #include +#include #include #define SVM_VERSION ((1<<16) | 1) /* set to declare region ready. */