svn commit: r312852 - head/sys/cam

Jung-uk Kim jkim at FreeBSD.org
Fri Jan 27 00:17:09 UTC 2017


Author: jkim
Date: Fri Jan 27 00:17:07 2017
New Revision: 312852
URL: https://svnweb.freebsd.org/changeset/base/312852

Log:
  Fix libcam build.  It was broken with r312827.

Modified:
  head/sys/cam/cam_xpt.h

Modified: head/sys/cam/cam_xpt.h
==============================================================================
--- head/sys/cam/cam_xpt.h	Thu Jan 26 23:29:30 2017	(r312851)
+++ head/sys/cam/cam_xpt.h	Fri Jan 27 00:17:07 2017	(r312852)
@@ -32,8 +32,10 @@
 #ifndef _CAM_CAM_XPT_H
 #define _CAM_CAM_XPT_H 1
 
+#ifdef _KERNEL
 #include <sys/cdefs.h>
 #include "opt_printf.h"
+#endif
 
 /* Forward Declarations */
 union ccb;


More information about the svn-src-all mailing list