Date: Sat, 10 Jan 1998 01:22:41 -0800 (PST) From: Simon Shapiro <shimon@simon-shapiro.org> To: freebsd-current@freebsd.org Subject: Still another net/inet build bug Message-ID: <XFMail.980110012241.shimon@simon-shapiro.org>
index | next in thread | raw e-mail
This failure:
cc -nostdinc -O -pipe -DETC_ETHERS -DSYSLOG -DDEBUG -DVEND_CMU
-I/usr/obj/usr/src/3.0/src/tmp/usr/include -c
/usr/src/3.0/src/libexec/bootpd/hwaddr.c
In file included from
/usr/obj/usr/src/3.0/src/tmp/usr/include/net/if_arp.h:40,
from /usr/src/3.0/src/libexec/bootpd/hwaddr.c:27:
/usr/obj/usr/src/3.0/src/tmp/usr/include/net/if_var.h:112: field `if_data'
has incomplete type
*** Error code 1
Stop.
can be corrected by this patch:
Index: if_var.h
===================================================================
RCS file: /Archives/FreeBSD/FreeBSD-CVS/src/sys/net/if_var.h,v
retrieving revision 1.6
diff -c -r1.6 if_var.h
*** if_var.h 1997/08/28 01:17:09 1.6
--- if_var.h 1998/01/10 09:20:37
***************
*** 73,78 ****
--- 73,81 ----
struct ether_header;
#endif
+ #include <sys/time.h>
+ #include <net/if.h>
+
#include <sys/queue.h> /* get TAILQ macros */
TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */
----------
Sincerely Yours,
Simon Shapiro
Shimon@Simon-Shapiro.ORG Voice: 503.799.2313
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980110012241.shimon>
