summaryrefslogtreecommitdiffstats
path: root/main/dhcpcd-dbus/fix-includes.patch
blob: 34492617fb81242a580e460bede786a53b884dd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 *);