Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7d2978d
)
svm: Include stdint on FreeBSD
72/40272/2
author
Tom Jones
<thj@freebsd.org>
Fri, 26 Jan 2024 17:32:02 +0000
(17:32 +0000)
committer
Damjan Marion
<dmarion@0xa5.net>
Tue, 13 Feb 2024 16:25:18 +0000
(16:25 +0000)
On FreeBSD we need to include stdint.h to get __WORDSIZE.
Type: improvement
Change-Id: I784aa0856fd8298f33016b7ccedecfa3672d5429
Signed-off-by: Tom Jones <thj@freebsd.org>
src/svm/svm_common.h
patch
|
blob
|
history
diff --git
a/src/svm/svm_common.h
b/src/svm/svm_common.h
index
c0581f2
..
e3aaba9
100644
(file)
--- 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>