summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx.h
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-10-31 23:36:47 +0000
committerjulian <julian@FreeBSD.org>1995-10-31 23:36:47 +0000
commit2457c77564e4384d49f9fcfd57b66e3619625e27 (patch)
tree62e87b22c042bf167915c074c6618f3fce82e573 /sys/netipx/ipx.h
parent77550cade35b9e2a27cce1c3e2bf177d8b0b4bc8 (diff)
downloadFreeBSD-src-2457c77564e4384d49f9fcfd57b66e3619625e27.zip
FreeBSD-src-2457c77564e4384d49f9fcfd57b66e3619625e27.tar.gz
Submitted by: Mike Mitchell (mitchell@ref.tfs.com)
these patches bring the ipx code up to the point that it compiles cleanly with the -W arguments suggested by bruce.
Diffstat (limited to 'sys/netipx/ipx.h')
-rw-r--r--sys/netipx/ipx.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/netipx/ipx.h b/sys/netipx/ipx.h
index 29838b5..e675274 100644
--- a/sys/netipx/ipx.h
+++ b/sys/netipx/ipx.h
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * @(#)ipx.h
+ * @(#)$Id$
*/
#ifndef _NETIPX_IPX_H_
@@ -156,8 +156,6 @@ struct ipx {
#ifdef KERNEL
-#include <net/route.h>
-
extern int ipxcksum;
extern struct domain ipxdomain;
extern struct sockaddr_ipx ipx_netmask;
@@ -173,6 +171,9 @@ extern long ipx_pexseq;
extern u_char ipxctlerrmap[];
extern struct ipxpcb ipxrawpcb;
+#include <net/if.h>
+#include <net/route.h>
+
#include <sys/cdefs.h>
__BEGIN_DECLS
OpenPOWER on IntegriCloud