Fixed a sloppy common-style declaration.

natm_pcb.c:
Include <sys/socketvar.h> which will be used when M_PCB is declared
in the right place.
This commit is contained in:
bde 1997-12-20 00:13:51 +00:00
parent a662bfc55f
commit 7bc1dce414
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -41,6 +41,7 @@
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <net/if.h>
@ -48,6 +49,8 @@
#include <netnatm/natm.h>
struct npcblist natm_pcbs;
/*
* npcb_alloc: allocate a npcb [in the free state]
*/