diff options
author | Tom Jones <thj@freebsd.org> | 2024-01-26 17:32:02 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-02-13 16:25:18 +0000 |
commit | caf9d4f4f880e167f22899f3c99b1bf93a39745f (patch) | |
tree | ed6a25d4c8094602ac9e12901c9f991730f33d32 /src/svm/svm_common.h | |
parent | 7d2978dab920b86b28f2f7f1c8823a4b28e68dd1 (diff) |
svm: Include stdint on FreeBSD
On FreeBSD we need to include stdint.h to get __WORDSIZE.
Type: improvement
Change-Id: I784aa0856fd8298f33016b7ccedecfa3672d5429
Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src/svm/svm_common.h')
-rw-r--r-- | src/svm/svm_common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/svm/svm_common.h b/src/svm/svm_common.h index c0581f2c29a..e3aaba9b76f 100644 --- a/src/svm/svm_common.h +++ b/src/svm/svm_common.h @@ -19,6 +19,9 @@ #define __included_svm_common_h__ #include <stdarg.h> +#ifdef __FreeBSD__ +#include <stdint.h> +#endif /* __FreeBSD__ */ #include <pthread.h> #include <sys/user.h> #include <vppinfra/clib.h> |