diff options
Diffstat (limited to 'meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch')
-rw-r--r-- | meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch b/meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch deleted file mode 100644 index 1b63299aae..0000000000 --- a/meta/recipes-extended/sysstat/sysstat/0001-Include-needed-headers-explicitly.patch +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
1 | From 42325faa88d64cce799977d611b2792beb154643 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 14 Sep 2015 08:36:59 +0000 | ||
4 | Subject: [PATCH] Include needed headers explicitly | ||
5 | |||
6 | on glibc these headers get pulled in indirectly via other .h files | ||
7 | but right fix is to include them directly when used | ||
8 | |||
9 | fixes | ||
10 | |||
11 | error: use of undeclared identifier 'PATH_MAX' | ||
12 | error: called object type 'unsigned int' is not a function or function pointer | ||
13 | dm_major = major(aux.st_rdev); | ||
14 | |||
15 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
16 | --- | ||
17 | Upstream-Status: Pending | ||
18 | |||
19 | common.c | 1 + | ||
20 | ioconf.c | 1 + | ||
21 | sa_common.c | 1 + | ||
22 | 3 files changed, 3 insertions(+) | ||
23 | |||
24 | Index: sysstat-11.7.1/common.c | ||
25 | =================================================================== | ||
26 | --- sysstat-11.7.1.orig/common.c | ||
27 | +++ sysstat-11.7.1/common.c | ||
28 | @@ -20,6 +20,7 @@ | ||
29 | */ | ||
30 | |||
31 | #include <stdio.h> | ||
32 | +#include <limits.h> | ||
33 | #include <string.h> | ||
34 | #include <stdlib.h> | ||
35 | #include <stdarg.h> | ||
36 | Index: sysstat-11.7.1/ioconf.c | ||
37 | =================================================================== | ||
38 | --- sysstat-11.7.1.orig/ioconf.c | ||
39 | +++ sysstat-11.7.1/ioconf.c | ||
40 | @@ -27,6 +27,7 @@ | ||
41 | #include <errno.h> | ||
42 | #include <dirent.h> | ||
43 | #include <sys/stat.h> | ||
44 | +#include <sys/types.h> | ||
45 | |||
46 | #include "ioconf.h" | ||
47 | #include "common.h" | ||
48 | Index: sysstat-11.7.1/sa_common.c | ||
49 | =================================================================== | ||
50 | --- sysstat-11.7.1.orig/sa_common.c | ||
51 | +++ sysstat-11.7.1/sa_common.c | ||
52 | @@ -20,6 +20,7 @@ | ||
53 | */ | ||
54 | |||
55 | #include <stdio.h> | ||
56 | +#include <limits.h> | ||
57 | #include <string.h> | ||
58 | #include <stdlib.h> | ||
59 | #include <stdint.h> | ||