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:
67e7f01
)
vnet: Add required header for pthread_np
51/40351/2
author
Tom Jones
<thj@freebsd.org>
Tue, 30 Jan 2024 09:26:42 +0000
(09:26 +0000)
committer
Damjan Marion
<dmarion@0xa5.net>
Sun, 18 Feb 2024 16:08:04 +0000
(16:08 +0000)
Type: improvement
Change-Id: Ia9295b79340a18de6eb5fe80877dcf4ce97b35eb
Signed-off-by: Tom Jones <thj@freebsd.org>
src/vpp/vnet/main.c
patch
|
blob
|
history
diff --git
a/src/vpp/vnet/main.c
b/src/vpp/vnet/main.c
index
3257d9c
..
192df8f
100644
(file)
--- a/
src/vpp/vnet/main.c
+++ b/
src/vpp/vnet/main.c
@@
-15,6
+15,9
@@
#define _GNU_SOURCE
#include <pthread.h>
#define _GNU_SOURCE
#include <pthread.h>
+#ifdef __FreeBSD__
+#include <pthread_np.h>
+#endif /* __FreeBSD__ */
#include <sched.h>
#include <vppinfra/clib.h>
#include <sched.h>
#include <vppinfra/clib.h>