summaryrefslogtreecommitdiff
path: root/news/gup/files/patch-rfc822.h
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 02:18:44 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 02:18:44 +0000
commit272b1c5f9a37780e519d767719a489fc971f669b (patch)
tree450f117b125086458811cc162321b8a082f97fd3 /news/gup/files/patch-rfc822.h
parentRename net/ patch-xy patches to reflect the files they modify. (diff)
Rename news/ patch-xy patches to reflect the files they modify.
Notes
Notes: svn path=/head/; revision=363286
Diffstat (limited to 'news/gup/files/patch-rfc822.h')
-rw-r--r--news/gup/files/patch-rfc822.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/news/gup/files/patch-rfc822.h b/news/gup/files/patch-rfc822.h
new file mode 100644
index 000000000000..10dcd052dcec
--- /dev/null
+++ b/news/gup/files/patch-rfc822.h
@@ -0,0 +1,17 @@
+--- rfc822.h.orig Sun Oct 20 16:57:18 2002
++++ rfc822.h Sun Oct 20 16:57:33 2002
+@@ -243,12 +243,14 @@
+ extern char *strerror();
+
+ /* Variables and routines that Unix(tm) provides. */
++#ifndef __FreeBSD__
+ extern int errno;
+ extern int sys_nerr;
+ extern int optind;
+ extern char *sys_errlist[];
+ extern char **environ;
+ extern char *optarg;
++#endif
+
+ #ifdef HAVE_UNISTD
+ #include <unistd.h>