netgraph7: curthread visibility is needed, so #include <sys/globaldata.h>
authorNuno Antunes <nuno.antunes@gmail.com>
Sat, 18 Sep 2010 14:33:02 +0000 (15:33 +0100)
committerNuno Antunes <nuno.antunes@gmail.com>
Tue, 10 Jan 2012 14:10:33 +0000 (14:10 +0000)
sys/netgraph7/dragonfly.h

index 9f391be..a938ad1 100644 (file)
@@ -34,6 +34,7 @@
  * $DragonFly: src/sys/netgraph7/dragonfly.h,v 1.1 2008/06/26 23:05:35 dillon Exp $
  */
 
+#include <sys/globaldata.h>    /* curthread in mtx_assert() */
 #include <sys/lock.h>
 #include <sys/objcache.h>