mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
ec82883723
Extract binary files from mult-segment uuendcoded postings. PR: 5042 Submitted by: Frank Volf <volf@oasis.IAEhv.nl>
25 lines
623 B
Plaintext
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>
|
|
|
|
/*-----------------------------------------------------------------------------
|