diff options
author | Tom Jones <thj@freebsd.org> | 2024-04-25 14:25:06 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2024-05-06 11:37:44 +0000 |
commit | f4c79967a659896eb7b2e8a9de981ad46e307a85 (patch) | |
tree | 7da322ac7bc4e210eb8e521637f360a9650a00cd /src | |
parent | 3b8819524f8aa76485b65b7249c483217100fed9 (diff) |
vppinfra: Include param.h on FreeBSD
Type: improvement
Change-Id: I5fa90dd26d6cac2cefee009c97dd5ff8dac3ee1e
Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/vppinfra/unix-misc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vppinfra/unix-misc.c b/src/vppinfra/unix-misc.c index 29cbe0a557d..a72e55dd043 100644 --- a/src/vppinfra/unix-misc.c +++ b/src/vppinfra/unix-misc.c @@ -42,8 +42,9 @@ #include <vppinfra/format.h> #ifdef __linux__ #include <vppinfra/linux/sysfs.h> -#else +#elif defined(__FreeBSD__) #include <sys/sysctl.h> +#include <sys/param.h> #endif #include <sys/stat.h> |