diff options
Diffstat (limited to 'meta/recipes-extended/quota/quota/0004-Fix-warnings-due-to-missing-stdlib.h.patch')
-rw-r--r-- | meta/recipes-extended/quota/quota/0004-Fix-warnings-due-to-missing-stdlib.h.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-extended/quota/quota/0004-Fix-warnings-due-to-missing-stdlib.h.patch b/meta/recipes-extended/quota/quota/0004-Fix-warnings-due-to-missing-stdlib.h.patch deleted file mode 100644 index bdb4ceaadd..0000000000 --- a/meta/recipes-extended/quota/quota/0004-Fix-warnings-due-to-missing-stdlib.h.patch +++ /dev/null | |||
@@ -1,46 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | |||
3 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
4 | --- | ||
5 | From c4b56ee58b9b76d2598535cf6109a27b22e60abe Mon Sep 17 00:00:00 2001 | ||
6 | From: Jan Kara <jack@suse.cz> | ||
7 | Date: Wed, 30 Mar 2016 10:21:13 +0200 | ||
8 | Subject: [PATCH] Fix warnings due to missing stdlib.h | ||
9 | |||
10 | When compiling without RPC, we do not get stdlib.h automatically | ||
11 | included via other includes and thus miss some function definitions. | ||
12 | Include stdlib.h explicitely. | ||
13 | |||
14 | Signed-off-by: Jan Kara <jack@suse.cz> | ||
15 | --- | ||
16 | quotaops.c | 1 + | ||
17 | setquota.c | 1 + | ||
18 | 2 files changed, 2 insertions(+) | ||
19 | |||
20 | diff --git a/quotaops.c b/quotaops.c | ||
21 | index 590dc1b..56cf622 100644 | ||
22 | --- a/quotaops.c | ||
23 | +++ b/quotaops.c | ||
24 | @@ -52,6 +52,7 @@ | ||
25 | #include <time.h> | ||
26 | #include <ctype.h> | ||
27 | #include <limits.h> | ||
28 | +#include <stdlib.h> | ||
29 | |||
30 | #if defined(RPC) | ||
31 | #include "rquota.h" | ||
32 | diff --git a/setquota.c b/setquota.c | ||
33 | index 8ecd9c3..421631e 100644 | ||
34 | --- a/setquota.c | ||
35 | +++ b/setquota.c | ||
36 | @@ -17,6 +17,7 @@ | ||
37 | #include <getopt.h> | ||
38 | #include <time.h> | ||
39 | #include <ctype.h> | ||
40 | +#include <stdlib.h> | ||
41 | |||
42 | #if defined(RPC) | ||
43 | #include "rquota.h" | ||
44 | -- | ||
45 | 2.6.1 | ||
46 | |||