Conditionally include <linux/limits.h> and <sys/params.h> on Linux, BSD
commitf287d1990b859602b0cbe50f0b903343c3b67d1a
authorEleni Maria Stea <elene.mst@gmail.com>
Sun, 20 Jun 2021 06:33:58 +0000 (20 09:33 +0300)
committerEleni Maria Stea <elene.mst@gmail.com>
Sun, 20 Jun 2021 11:32:33 +0000 (20 14:32 +0300)
treee7741b99988ae93073c73f410600a13bda7e2ea3
parent8bc56fe0fb16e2d421b6651b731045e14cf926ef
Conditionally include <linux/limits.h> and <sys/params.h> on Linux, BSD

<linux/limits.h> should be included conditionally for Linux only, also
SPECNAMELEN used conditionally when the OS is FreeBSD requires to
include <sys/params.h>.

Signed-off-by: Eleni Maria Stea <elene.mst@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
tests/amdgpu/amdgpu_test.c