24 lines
454 B
Diff
24 lines
454 B
Diff
--- 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
|
|
@@ -20,8 +20,10 @@
|
|
*/
|
|
#include "config.h"
|
|
#ifdef ENABLE_SYSLOG
|
|
+#define _GNU_SOURCE
|
|
#include "zglobal.h"
|
|
#include <pwd.h>
|
|
+#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#endif
|