summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch')
-rw-r--r--meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch68
1 files changed, 0 insertions, 68 deletions
diff --git a/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch b/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch
deleted file mode 100644
index bd647ac55e..0000000000
--- a/meta/recipes-extended/libnsl/libnsl2/0001-include-sys-cdefs.h-explicitly.patch
+++ /dev/null
@@ -1,68 +0,0 @@
1From 508a0ff690dfebc17c4f55a5f81824ed549bed66 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 18 Apr 2017 09:13:33 -0700
4Subject: [PATCH 1/2] include sys/cdefs.h explicitly
5
6glibc includes this header indirectly but not musl
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10Upstream-Status: Pending
11
12 src/rpcsvc/nis.h | 1 +
13 src/rpcsvc/nislib.h | 1 +
14 src/rpcsvc/ypclnt.h | 1 +
15 src/rpcsvc/ypupd.h | 1 +
16 4 files changed, 4 insertions(+)
17
18diff --git a/src/rpcsvc/nis.h b/src/rpcsvc/nis.h
19index 933c4d9..88cbca0 100644
20--- a/src/rpcsvc/nis.h
21+++ b/src/rpcsvc/nis.h
22@@ -32,6 +32,7 @@
23 #ifndef _RPCSVC_NIS_H
24 #define _RPCSVC_NIS_H 1
25
26+#include <sys/cdefs.h>
27 #include <features.h>
28 #include <rpc/rpc.h>
29 #include <rpcsvc/nis_tags.h>
30diff --git a/src/rpcsvc/nislib.h b/src/rpcsvc/nislib.h
31index a59c19b..a53fab3 100644
32--- a/src/rpcsvc/nislib.h
33+++ b/src/rpcsvc/nislib.h
34@@ -19,6 +19,7 @@
35 #ifndef __RPCSVC_NISLIB_H__
36 #define __RPCSVC_NISLIB_H__
37
38+#include <sys/cdefs.h>
39 #include <features.h>
40
41 __BEGIN_DECLS
42diff --git a/src/rpcsvc/ypclnt.h b/src/rpcsvc/ypclnt.h
43index fe43fd4..a686b61 100644
44--- a/src/rpcsvc/ypclnt.h
45+++ b/src/rpcsvc/ypclnt.h
46@@ -20,6 +20,7 @@
47 #ifndef __RPCSVC_YPCLNT_H__
48 #define __RPCSVC_YPCLNT_H__
49
50+#include <sys/cdefs.h>
51 #include <features.h>
52
53 /* Some defines */
54diff --git a/src/rpcsvc/ypupd.h b/src/rpcsvc/ypupd.h
55index d07fd4d..2c57301 100644
56--- a/src/rpcsvc/ypupd.h
57+++ b/src/rpcsvc/ypupd.h
58@@ -33,6 +33,7 @@
59 #ifndef __RPCSVC_YPUPD_H__
60 #define __RPCSVC_YPUPD_H__
61
62+#include <sys/cdefs.h>
63 #include <features.h>
64
65 #include <rpc/rpc.h>
66--
672.12.2
68