svm: add standard include for __WORDSIZE 84/30784/7
authorNathan Moos <nmoos@cisco.com>
Fri, 15 Jan 2021 22:03:01 +0000 (14:03 -0800)
committerDamjan Marion <dmarion@me.com>
Wed, 20 Jan 2021 15:21:55 +0000 (15:21 +0000)
commitcf5ba26700845b3956beb71314875fa192f5b711
treebd240cfc3f4ba3386f31cd02ae2104c2e9a5e723
parentbfa0398f7a9f58a28d9b3f552b451da267a3c8a5
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>
src/svm/svm_common.h