summaryrefslogtreecommitdiffstats
path: root/main/dhcp/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/dhcp/fix-includes.patch')
-rw-r--r--main/dhcp/fix-includes.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/dhcp/fix-includes.patch b/main/dhcp/fix-includes.patch
new file mode 100644
index 000000000..ecfb67848
--- /dev/null
+++ b/main/dhcp/fix-includes.patch
@@ -0,0 +1,36 @@
+Only in dhcp-4.2.5-P1.orig: bind/build.log
+Only in dhcp-4.2.5-P1.orig: bind/configure.log
+Only in dhcp-4.2.5-P1.orig: bind/install.log
+--- dhcp-4.2.5-P1.orig/common/lpf.c
++++ dhcp-4.2.5-P1/common/lpf.c
+@@ -36,8 +36,8 @@
+ #include <asm/types.h>
+ #include <linux/filter.h>
+ #include <linux/if_ether.h>
++#include <linux/if_packet.h>
+ #include <netinet/in_systm.h>
+-#include <net/if_packet.h>
+ #include "includes/netinet/ip.h"
+ #include "includes/netinet/udp.h"
+ #include "includes/netinet/if_ether.h"
+--- dhcp-4.2.5-P1.orig/dst/dst_internal.h
++++ dhcp-4.2.5-P1/dst/dst_internal.h
+@@ -20,6 +20,7 @@
+ */
+ #include <limits.h>
+ #include <sys/param.h>
++#include <sys/types.h>
+
+ #ifndef PATH_MAX
+ # ifdef POSIX_PATH_MAX
+--- dhcp-4.2.5-P1.orig/includes/arpa/nameser.h
++++ dhcp-4.2.5-P1/includes/arpa/nameser.h
+@@ -61,6 +61,8 @@
+ #ifndef _ARPA_NAMESER_H_
+ #define _ARPA_NAMESER_H_
+
++#include <sys/types.h>
++
+ /*
+ * Revision information. This is the release date in YYYYMMDD format.
+ * It can change every day so the right thing to do with it is use it