summaryrefslogtreecommitdiff
path: root/net-dialup/lrzsz/files/lrzsz-implicit-decl.patch
blob: 9b1decdba856cb824f64e7a71a163218a71a55cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- lrzsz-0.12.20/lib/long-options.c
+++ lrzsz-0.12.20/lib/long-options.c
@@ -22,6 +22,7 @@
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <getopt.h>
 #include "long-options.h"
 
--- lrzsz-0.12.20/src/lsyslog.c
+++ lrzsz-0.12.20/src/lsyslog.c
@@ -22,6 +22,8 @@
 #ifdef ENABLE_SYSLOG
+#define _GNU_SOURCE
 #include "zglobal.h"
 #include <pwd.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #endif