Skip to content
Snippets Groups Projects
Commit c115a197 authored by Brooks Davis's avatar Brooks Davis
Browse files

mail/serialmail: include errno.h for errno

errno must be accessed by a macro from errno.h.
parent bd7c71cd
No related branches found
No related tags found
No related merge requests found
PORTNAME= serialmail
PORTVERSION= 0.75
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= mail
MASTER_SITES= http://cr.yp.to/software/ \
ftp://ftp.gbnet.net/pub/qmail/ \
......
--- error.h.orig
+++ error.h
@@ -1,7 +1,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;
--- leapsecs_read.c.orig
+++ leapsecs_read.c
@@ -2,7 +2,6 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
-extern int errno;
#include "tai.h"
#include "leapsecs.h"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment