aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/shadow/files/shadow-4.1.5.1-fix-struct_in_addr-collision.patch')
-rw-r--r--sys-apps/shadow/files/shadow-4.1.5.1-fix-struct_in_addr-collision.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/shadow/files/shadow-4.1.5.1-fix-struct_in_addr-collision.patch b/sys-apps/shadow/files/shadow-4.1.5.1-fix-struct_in_addr-collision.patch
new file mode 100644
index 00000000..6761ff92
--- /dev/null
+++ b/sys-apps/shadow/files/shadow-4.1.5.1-fix-struct_in_addr-collision.patch
@@ -0,0 +1,12 @@
+diff -Naur shadow-4.1.5.1.orig/libmisc/utmp.c shadow-4.1.5.1/libmisc/utmp.c
+--- shadow-4.1.5.1.orig/libmisc/utmp.c 2014-01-16 13:59:51.517973402 +0000
++++ shadow-4.1.5.1/libmisc/utmp.c 2014-01-16 14:00:13.147974612 +0000
+@@ -45,8 +45,6 @@
+ #include <netdb.h>
+ #include <stdio.h>
+ #include <sys/socket.h>
+-#include <linux/in.h>
+-#include <linux/in6.h>
+
+ #ident "$Id: utmp.c 3720 2012-05-18 17:57:52Z nekral-guest $"
+