The attached patch fixes a compilation problem with DHCP, where a header
file is not included in tr.c. The patch was taken direct from the
Gentoo archives, and fixed compilation problems with GCC 4 here.
Jeremy
Submitted By: Jeremy Utley (jeremy at jutley.org)
Date: 2006-02-12
Initial Package Version: 3.0.3 (should apply to 3.0.2)
Origin: Gentoo Package Archive
Description: Fixes missing include in tr.c
Upstream Status: Not Submitted
--- work.linux-2.2/common/tr.c 2005/08/14 11:34:24 1.1
+++ work.linux-2.2/common/tr.c 2005/08/14 11:35:16
@@ -40,6 +40,9 @@ static char copyright[] =
#include "includes/netinet/if_ether.h"
#include "netinet/if_tr.h"
#include <sys/time.h>
+#ifdef __linux__
+#include <linux/types.h>
+#endif
/*
* token ring device handling subroutines. These are required as token-ring
--
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page