diff --git a/sys/netnatm/natm.h b/sys/netnatm/natm.h index 2edfd577ba90..45048d78516e 100644 --- a/sys/netnatm/natm.h +++ b/sys/netnatm/natm.h @@ -113,7 +113,7 @@ LIST_HEAD(npcblist, natmpcb); /* global data structures */ -struct npcblist natm_pcbs; /* global list of pcbs */ +extern struct npcblist natm_pcbs; /* global list of pcbs */ extern struct ifqueue natmintrq; /* natm packet input queue */ #define NATM_STAT #ifdef NATM_STAT diff --git a/sys/netnatm/natm_pcb.c b/sys/netnatm/natm_pcb.c index 1b0067a78051..16e3a34ca894 100644 --- a/sys/netnatm/natm_pcb.c +++ b/sys/netnatm/natm_pcb.c @@ -41,6 +41,7 @@ #include #include #include +#include #include @@ -48,6 +49,8 @@ #include +struct npcblist natm_pcbs; + /* * npcb_alloc: allocate a npcb [in the free state] */