aports/main/dhcpcd-dbus/fix-includes.patch
2013-12-16 17:37:36 +00:00

23 lines
489 B
Diff

--- 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 *);