Author: marius
Date: Sun Feb 10 21:27:03 2019
New Revision: 343979
URL: https://svnweb.freebsd.org/changeset/base/343979

Log:
  As struct cryptop is wrapped in #ifdef _KERNEL, userland doesn't
  need to drag in <sys/_task.h> either.

Modified:
  head/sys/opencrypto/cryptodev.h

Modified: head/sys/opencrypto/cryptodev.h
==============================================================================
--- head/sys/opencrypto/cryptodev.h     Sun Feb 10 21:22:55 2019        
(r343978)
+++ head/sys/opencrypto/cryptodev.h     Sun Feb 10 21:27:03 2019        
(r343979)
@@ -63,10 +63,10 @@
 #define _CRYPTO_CRYPTO_H_
 
 #include <sys/ioccom.h>
-#include <sys/_task.h>
 
 #ifdef _KERNEL
 #include <opencrypto/_cryptodev.h>
+#include <sys/_task.h>
 #endif
 
 /* Some initial values */
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to