aports/main/dhcp/fix-includes.patch
2015-04-30 12:03:04 +00:00

22 lines
549 B
Diff

--- 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