diff options
author | marino <marino@FreeBSD.org> | 2014-02-06 06:25:39 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-02-06 06:25:39 +0800 |
commit | 9195cbcdcb3d4dd7593f3797f92453e09b2c8b60 (patch) | |
tree | 081d6ba34825ea76740b60f2bbf2d59d19c0dc08 /mail/pgpsendmail | |
parent | d661549a502adb140f8cbaed4c26837a2a208d3c (diff) | |
download | freebsd-ports-gnome-9195cbcdcb3d4dd7593f3797f92453e09b2c8b60.tar.gz freebsd-ports-gnome-9195cbcdcb3d4dd7593f3797f92453e09b2c8b60.tar.zst freebsd-ports-gnome-9195cbcdcb3d4dd7593f3797f92453e09b2c8b60.zip |
mail/pgpsendmail: use <errno.h> header instead of local extern
Diffstat (limited to 'mail/pgpsendmail')
-rw-r--r-- | mail/pgpsendmail/files/patch-karma.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/pgpsendmail/files/patch-karma.h b/mail/pgpsendmail/files/patch-karma.h new file mode 100644 index 000000000000..d9c2993af186 --- /dev/null +++ b/mail/pgpsendmail/files/patch-karma.h @@ -0,0 +1,15 @@ +--- karma.h.orig 1994-10-15 17:41:33.000000000 +0000 ++++ karma.h +@@ -60,11 +60,7 @@ typedef unsigned long uaddr; + * ERRNO_TYPE * + *-----------------------------------------------------------*/ + +-#ifdef __ZTC__ +-#define ERRNO_TYPE extern volatile int +-#else +-#define ERRNO_TYPE extern int +-#endif ++#define ERRNO_TYPE int + + /*-----------------------------------------------------------* + * PI Definitions * |