Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ppbus Add standard inet headers.



details:   https://anonhg.NetBSD.org/src/rev/2bd37502b6f0
branches:  trunk
changeset: 369860:2bd37502b6f0
user:      rjs <rjs%NetBSD.org@localhost>
date:      Sun Sep 04 15:59:08 2022 +0000

description:
Add standard inet headers.

diffstat:

 sys/dev/ppbus/if_plip.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 69fbd63900c2 -r 2bd37502b6f0 sys/dev/ppbus/if_plip.c
--- a/sys/dev/ppbus/if_plip.c   Sun Sep 04 13:32:14 2022 +0000
+++ b/sys/dev/ppbus/if_plip.c   Sun Sep 04 15:59:08 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_plip.c,v 1.37 2022/09/02 23:48:10 thorpej Exp $ */
+/* $NetBSD: if_plip.c,v 1.38 2022/09/04 15:59:08 rjs Exp $ */
 
 /*-
  * Copyright (c) 1997 Poul-Henning Kamp
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.37 2022/09/02 23:48:10 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.38 2022/09/04 15:59:08 rjs Exp $");
 
 /*
  * Parallel port TCP/IP interfaces added.  I looked at the driver from
@@ -103,8 +103,10 @@
 #include <net/bpf.h>
 
 #ifdef INET
+#include <netinet/in.h>
+#include <netinet/in_systm.h>
 #include <netinet/in_var.h>
-/* #include <netinet/in.h> */
+#include <netinet/ip.h>
 #else
 #error Cannot config lp/plip without inet
 #endif



Home | Main Index | Thread Index | Old Index