diff options
Diffstat (limited to 'main/dhcpcd-dbus/fix-includes.patch')
-rw-r--r-- | main/dhcpcd-dbus/fix-includes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/dhcpcd-dbus/fix-includes.patch b/main/dhcpcd-dbus/fix-includes.patch new file mode 100644 index 000000000..34492617f --- /dev/null +++ b/main/dhcpcd-dbus/fix-includes.patch @@ -0,0 +1,22 @@ +--- dhcpcd-dbus-0.6.0.orig/dhcpcd.h ++++ dhcpcd-dbus-0.6.0/dhcpcd.h +@@ -28,6 +28,8 @@ + #ifndef DHCPCD_H + #define DHCPCD_H + ++#include <sys/types.h> ++ + extern char *dhcpcd_version; + extern const char *dhcpcd_status; + +--- dhcpcd-dbus-0.6.0.orig/eloop.h ++++ dhcpcd-dbus-0.6.0/eloop.h +@@ -28,7 +28,7 @@ + #ifndef ELOOP_H + #define ELOOP_H + +-#include <time.h> ++#include <sys/time.h> + + int add_event(int, void (*)(void *), void *); + int add_event_flags(int, int, void (*)(int, void *), void *); |