diff options
Diffstat (limited to 'meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch')
-rw-r--r-- | meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch new file mode 100644 index 0000000000..5fcb3aa92b --- /dev/null +++ b/meta/recipes-bsp/lrzsz/lrzsz-0.12.20/include.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | Implicit declaration compile warning fixes from Debian | ||
2 | |||
3 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
4 | Upstream-Status: Inappropriate [upstream is dead] | ||
5 | |||
6 | --- lrzsz-0.12.21.orig/lib/long-options.c | ||
7 | +++ lrzsz-0.12.21/lib/long-options.c | ||
8 | @@ -22,6 +22,7 @@ | ||
9 | #endif | ||
10 | |||
11 | #include <stdio.h> | ||
12 | +#include <stdlib.h> | ||
13 | #include <getopt.h> | ||
14 | #include "long-options.h" | ||
15 | |||
16 | --- lrzsz-0.12.21.orig/src/lsyslog.c | ||
17 | +++ lrzsz-0.12.21/src/lsyslog.c | ||
18 | @@ -22,6 +22,7 @@ | ||
19 | #ifdef ENABLE_SYSLOG | ||
20 | #include "zglobal.h" | ||
21 | #include <pwd.h> | ||
22 | +#include <stdio.h> | ||
23 | #include <stdlib.h> | ||
24 | #include <string.h> | ||
25 | #endif | ||