aboutsummaryrefslogtreecommitdiffstats
path: root/mcgoron/guix/patches/vicare-0.4.1-modern-glibc.patch
blob: 3191084475d2d72efb30c5b802ec773f53d20079 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
diff --git a/meta/autoconf/vicare.m4 b/meta/autoconf/vicare.m4
index 691c95e8..e85aa27f 100644
--- a/meta/autoconf/vicare.m4
+++ b/meta/autoconf/vicare.m4
@@ -192,9 +192,11 @@ AC_INCLUDES_DEFAULT
 #ifdef HAVE_NETDB_H
 #  include <netdb.h>
 #endif
+#if 0
 #ifdef HAVE_NET_IF_H
 #  include <net/if.h>
 #endif
+#endif
 #ifdef HAVE_NETINET_ETHER_H
 #  include <netinet/ether.h>
 #endif
diff --git a/src/ikarus-glibc.c b/src/ikarus-glibc.c
index d6be4925..ce742c6b 100644
--- a/src/ikarus-glibc.c
+++ b/src/ikarus-glibc.c
@@ -45,9 +45,11 @@
 #ifdef HAVE_MATH_H
 #  include <math.h>
 #endif
+#if 0
 #ifdef HAVE_NET_IF_H
 #  include <net/if.h>
 #endif
+#endif
 #ifdef HAVE_REGEX_H
 #  include <regex.h>
 #endif
diff --git a/src/ikarus-main.c b/src/ikarus-main.c
index b81d4c02..7b73618b 100644
--- a/src/ikarus-main.c
+++ b/src/ikarus-main.c
@@ -30,7 +30,7 @@
 #include <sys/types.h>
 
 extern int cpu_has_sse2();
-static void register_handlers();
+static void register_handlers(int);
 static void register_alt_stack();
 
 /* When true: internals inspection messages  are enabled.  It is used by