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 <sys/user.h> to ensure the __WORDSIZE macro is available. Change-Id: If1b1fc97161b7a0b2e82351d4776c81c36a323cb Signed-off-by: Nathan Moos <nmoos@cisco.com>
This commit is contained in:
committed by
Damjan Marion
parent
bfa0398f7a
commit
cf5ba26700
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <pthread.h>
|
||||
#include <sys/user.h>
|
||||
#include <vppinfra/types.h>
|
||||
|
||||
#define SVM_VERSION ((1<<16) | 1) /* set to declare region ready. */
|
||||
|
||||
Reference in New Issue
Block a user