summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/quota/quota/0004-Fix-warnings-due-to-missing-stdlib.h.patch
diff options
context:
space:
mode:
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.patch46
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 @@
1Upstream-Status: Backport
2
3Signed-off-by: Kai Kang <kai.kang@windriver.com>
4---
5From c4b56ee58b9b76d2598535cf6109a27b22e60abe Mon Sep 17 00:00:00 2001
6From: Jan Kara <jack@suse.cz>
7Date: Wed, 30 Mar 2016 10:21:13 +0200
8Subject: [PATCH] Fix warnings due to missing stdlib.h
9
10When compiling without RPC, we do not get stdlib.h automatically
11included via other includes and thus miss some function definitions.
12Include stdlib.h explicitely.
13
14Signed-off-by: Jan Kara <jack@suse.cz>
15---
16 quotaops.c | 1 +
17 setquota.c | 1 +
18 2 files changed, 2 insertions(+)
19
20diff --git a/quotaops.c b/quotaops.c
21index 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"
32diff --git a/setquota.c b/setquota.c
33index 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--
452.6.1
46