diff options
Diffstat (limited to 'main/dhcpcd-dbus/fix-dhcpcd.patch')
-rw-r--r-- | main/dhcpcd-dbus/fix-dhcpcd.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/dhcpcd-dbus/fix-dhcpcd.patch b/main/dhcpcd-dbus/fix-dhcpcd.patch new file mode 100644 index 0000000000..13e4f51161 --- /dev/null +++ b/main/dhcpcd-dbus/fix-dhcpcd.patch @@ -0,0 +1,22 @@ +--- a/dhcpcd.c ++++ b/dhcpcd.c +@@ -664,7 +664,7 @@ + return list; + } + +-#ifndef __GLIBC__ ++#ifndef _GNU_SOURCE + /* Good enough for our needs */ + static int + strverscmp(const char *s1, const char *s2) +--- a/dhcpcd.h ++++ b/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; + |