kernel/acpica: Include <stdarg.h> only for userland compilation.
authorSascha Wildner <saw@online.de>
Thu, 19 Jan 2017 18:21:59 +0000 (19:21 +0100)
committerSascha Wildner <saw@online.de>
Thu, 19 Jan 2017 18:22:39 +0000 (19:22 +0100)
commitd3247fb9217f345d8856b9ce52772f9a622271c0
tree107ab929f65b9df33322dea0776c6c53c8ffe371
parent50ffaab3112e838c67e0e959825a7bfc43fc483e
kernel/acpica: Include <stdarg.h> only for userland compilation.

We generally don't include /usr/include/*.h headers in kernel code,
and the kernel doesn't need it.

It also caused issues when compiling with clang (due to redefinitions).

Reported-by: zrj
sys/contrib/dev/acpica/source/include/platform/acgcc.h