mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Make this build under 3.0.
This commit is contained in:
parent
7d78a1cffb
commit
ade9d70b2a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8909
2 changed files with 24 additions and 0 deletions
12
net-mgmt/choparp/files/patch-ac
Normal file
12
net-mgmt/choparp/files/patch-ac
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- choparp.c.orig Sat Nov 29 15:38:49 1997
|
||||||
|
+++ choparp.c Sat Nov 29 15:45:52 1997
|
||||||
|
@@ -21,6 +21,9 @@
|
||||||
|
#include <net/if.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
/* #include <net/if_arp.h> */
|
||||||
|
+#if (__FreeBSD__ >= 3)
|
||||||
|
+ #include <net/if_var.h>
|
||||||
|
+#endif
|
||||||
|
#include <netinet/if_ether.h>
|
||||||
|
#include <sys/param.h>
|
||||||
|
#include <errno.h>
|
12
net/choparp/files/patch-ac
Normal file
12
net/choparp/files/patch-ac
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- choparp.c.orig Sat Nov 29 15:38:49 1997
|
||||||
|
+++ choparp.c Sat Nov 29 15:45:52 1997
|
||||||
|
@@ -21,6 +21,9 @@
|
||||||
|
#include <net/if.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
/* #include <net/if_arp.h> */
|
||||||
|
+#if (__FreeBSD__ >= 3)
|
||||||
|
+ #include <net/if_var.h>
|
||||||
|
+#endif
|
||||||
|
#include <netinet/if_ether.h>
|
||||||
|
#include <sys/param.h>
|
||||||
|
#include <errno.h>
|
Loading…
Add table
Reference in a new issue