commit | 9a97fb8ad799cd4bfc7e78394d0797a4ff7da0f1 | [log] [tgz] |
---|---|---|
author | Tom Jones <thj@freebsd.org> | Tue Jan 30 09:19:13 2024 +0000 |
committer | Damjan Marion <dmarion@0xa5.net> | Sun Feb 18 16:08:21 2024 +0000 |
tree | 2983e02cf8394f632134901c80c9e8a958c13963 | |
parent | 9447adc429885c0afd55df84ba3460a57cd9e2bf [diff] [blame] |
svm: Only include sys/user on Linux Type: improvement Change-Id: Idb318eb386617013015c43153bf0bd92fa28b9b6 Signed-off-by: Tom Jones <thj@freebsd.org>
diff --git a/src/svm/svm_common.h b/src/svm/svm_common.h index e3aaba9..0e19ffd 100644 --- a/src/svm/svm_common.h +++ b/src/svm/svm_common.h
@@ -23,7 +23,9 @@ #include <stdint.h> #endif /* __FreeBSD__ */ #include <pthread.h> +#ifdef __linux__ #include <sys/user.h> +#endif /* __linux__ */ #include <vppinfra/clib.h> #include <vppinfra/types.h>