diff options
author | Tom Jones <thj@freebsd.org> | 2024-01-30 09:26:42 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-02-18 16:08:04 +0000 |
commit | 9447adc429885c0afd55df84ba3460a57cd9e2bf (patch) | |
tree | b99e156beb2dd17efd504a42641dd1c117356803 /src | |
parent | 67e7f016d21c36778b22f8c2c2480868bf603cd8 (diff) |
vnet: Add required header for pthread_np
Type: improvement
Change-Id: Ia9295b79340a18de6eb5fe80877dcf4ce97b35eb
Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/vpp/vnet/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vpp/vnet/main.c b/src/vpp/vnet/main.c index 3257d9cda57..192df8f2fe1 100644 --- a/src/vpp/vnet/main.c +++ b/src/vpp/vnet/main.c @@ -15,6 +15,9 @@ #define _GNU_SOURCE #include <pthread.h> +#ifdef __FreeBSD__ +#include <pthread_np.h> +#endif /* __FreeBSD__ */ #include <sched.h> #include <vppinfra/clib.h> |