diff options
Diffstat (limited to 'src/vppinfra/unix-misc.c')
-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> |