slackbuilds_ponce/network/serialmail/serialmail-0.75.errno.patch
Duncan Roe e08d2594b5 network/serialmail: Added (pass mail over intermittent links).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2017-06-30 14:16:11 +07:00

23 lines
703 B
Diff

diff -u serialmail-0.75.orig/error.h serialmail-0.75/error.h
--- serialmail-0.75.orig/error.h 1998-11-14 20:28:23.000000000 -0600
+++ serialmail-0.75/error.h 2004-01-29 11:15:32.000000000 -0600
@@ -1,7 +1,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;
diff -u serialmail-0.75.orig/leapsecs_read.c serialmail-0.75/leapsecs_read.c
--- serialmail-0.75.orig/leapsecs_read.c 1998-11-14 20:28:23.000000000 -0600
+++ serialmail-0.75/leapsecs_read.c 2004-01-29 11:20:09.000000000 -0600
@@ -2,7 +2,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-extern int errno;
#include "tai.h"
#include "leapsecs.h"