git: kernel/acpica: Include <stdarg.h> only for userland compilation.

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jan 19 10:22:46 PST 2017


commit d3247fb9217f345d8856b9ce52772f9a622271c0
Author: Sascha Wildner <saw at online.de>
Date:   Thu Jan 19 19:21:59 2017 +0100

    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

Summary of changes:
 sys/contrib/dev/acpica/source/include/platform/acgcc.h | 2 ++
 1 file changed, 2 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d3247fb9217f345d8856b9ce52772f9a622271c0


-- 
DragonFly BSD source repository



More information about the Commits mailing list