From e875be212d2fdec9d525f9d150dccb1ea9b6bb46 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 20 Mar 2018 21:00:45 +0000 Subject: [PATCH] Use instead of in userland. is a kernel-only header. The standard header for userland is . Using the standard header in userland avoids weird build errors when building with external compilers that include their own stdarg.h header. Reviewed by: arichardson, brooks, imp Sponsored by: DARPA / AFRL Differential Revision: https://reviews.freebsd.org/D14776 --- sys/cam/scsi/scsi_all.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/cam/scsi/scsi_all.h b/sys/cam/scsi/scsi_all.h index 3a11a15e489..80f8a221cc3 100644 --- a/sys/cam/scsi/scsi_all.h +++ b/sys/cam/scsi/scsi_all.h @@ -25,7 +25,11 @@ #define _SCSI_SCSI_ALL_H 1 #include +#ifdef _KERNEL #include +#else +#include +#endif #ifdef _KERNEL /*