netgraph7: Include the correct header file in dragonfly.c.
authorNuno Antunes <nuno.antunes@gmail.com>
Wed, 22 Sep 2010 00:50:20 +0000 (01:50 +0100)
committerNuno Antunes <nuno.antunes@gmail.com>
Tue, 10 Jan 2012 14:10:34 +0000 (14:10 +0000)
* The dragonfly.c file was #including the legacy netgraph
  ng_message.h header instead of the new one.

* Add missing include to netgraph7 ng_message.h.

sys/netgraph7/dragonfly.c
sys/netgraph7/ng_message.h

index 098af05..26ebc67 100644 (file)
@@ -1,4 +1,4 @@
-#include <netgraph/ng_message.h>
+#include <netgraph7/ng_message.h>
 
 #include <sys/malloc.h>
 #include <sys/linker.h>
index 8b0342e..253cedb 100644 (file)
@@ -46,6 +46,7 @@
 #define _NETGRAPH_NG_MESSAGE_H_
 
 #include <sys/ioccom.h>
+#include <sys/types.h>
 
 /* ASCII string size limits */
 #define        NG_TYPESIZ      32      /* max type name len (including null) */