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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
From 2eb67c91834a21e68c90380254c7c10ffe03a7ca Mon Sep 17 00:00:00 2001
From: Leonardo Arena <rnalrd@alpinelinux.org>
Date: Thu, 14 Apr 2022 08:47:15 +0000
Subject: [PATCH] silence include header warnings
---
cf/roken-frag.m4 | 1 -
configure | 2 +-
lib/ipc/hi_locl.h | 2 +-
lib/krb5/krb5_locl.h | 2 +-
lib/roken/getifaddrs.c | 2 +-
5 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/cf/roken-frag.m4 b/cf/roken-frag.m4
index f22b43a..589b2cc 100644
--- a/cf/roken-frag.m4
+++ b/cf/roken-frag.m4
@@ -73,7 +73,6 @@ AC_CHECK_HEADERS([\
stdint.h \
sys/auxv.h \
sys/bswap.h \
- sys/errno.h \
sys/ioctl.h \
sys/mman.h \
sys/param.h \
diff --git a/configure b/configure
index 4cefc43..bc3bf78 100755
--- a/configure
+++ b/configure
@@ -17965,7 +17965,7 @@ for ac_header in \
stdint.h \
sys/auxv.h \
sys/bswap.h \
- sys/errno.h \
+ errno.h \
sys/ioctl.h \
sys/mman.h \
sys/param.h \
diff --git a/lib/ipc/hi_locl.h b/lib/ipc/hi_locl.h
index 7efe6ca..3195b44 100644
--- a/lib/ipc/hi_locl.h
+++ b/lib/ipc/hi_locl.h
@@ -41,7 +41,7 @@
#include <sys/un.h>
#endif
-#include <sys/poll.h>
+#include <poll.h>
#include <ctype.h>
#include <stdio.h>
diff --git a/lib/krb5/krb5_locl.h b/lib/krb5/krb5_locl.h
index b64f3a9..f62c40d 100644
--- a/lib/krb5/krb5_locl.h
+++ b/lib/krb5/krb5_locl.h
@@ -44,7 +44,7 @@
#include <ctype.h>
#ifdef HAVE_POLL_H
-#include <sys/poll.h>
+#include <poll.h>
#endif
#include <krb5-types.h>
diff --git a/lib/roken/getifaddrs.c b/lib/roken/getifaddrs.c
index cc949b0..a82adc5 100644
--- a/lib/roken/getifaddrs.c
+++ b/lib/roken/getifaddrs.c
@@ -120,7 +120,7 @@ struct mbuf;
#include <linux/rtnetlink.h>
#include <sys/types.h>
#include <sys/socket.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <netpacket/packet.h>
#include <net/ethernet.h> /* the L2 protocols */
#include <sys/uio.h>
--
2.35.1
|