1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/news/unpost/files/patch-aa
Steve Price ec82883723 Initial import of unpost version 2.3.4.
Extract binary files from mult-segment uuendcoded postings.

PR:		5042
Submitted by:	Frank Volf <volf@oasis.IAEhv.nl>
1998-03-28 14:58:20 +00:00

25 lines
623 B
Plaintext

--- compiler.h.org Fri Nov 14 14:04:42 1997
+++ compiler.h Fri Nov 14 14:06:55 1997
@@ -70,9 +70,11 @@
-----------------------------------------------------------------------------*/
#elif defined(GCC_COMPILER)
+#ifndef __FreeBSD__
extern char *sys_errlist[];
#define strerror(x) sys_errlist[x]
+#endif
/* Defines for fopen calls. */
#define TXT_APPEND "a"
@@ -82,7 +84,9 @@
#define BIN_WRITE "w"
#define BIN_RD_WRT "w+"
+#ifndef __FreeBSD__
#include <malloc.h>
+#endif
#include <unistd.h>
/*-----------------------------------------------------------------------------