summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/tar/port.h5
-rw-r--r--gnu/usr.bin/tar/prepend_args.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/tar/port.h b/gnu/usr.bin/tar/port.h
index 4e65a9a..6999eb4 100644
--- a/gnu/usr.bin/tar/port.h
+++ b/gnu/usr.bin/tar/port.h
@@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
along with GNU Tar; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+/* $FreeBSD$ */
+
/* AIX requires this to be the first thing in the file. */
#ifdef __GNUC__
#define alloca __builtin_alloca
@@ -119,6 +121,9 @@ typedef long off_t;
char *malloc (), *realloc ();
char *getenv ();
#endif
+PTR ck_malloc ();
+PTR ck_realloc ();
+char *xmalloc ();
#ifndef _POSIX_VERSION
#ifdef __MSDOS__
diff --git a/gnu/usr.bin/tar/prepend_args.c b/gnu/usr.bin/tar/prepend_args.c
index a4991f2..211cfab 100644
--- a/gnu/usr.bin/tar/prepend_args.c
+++ b/gnu/usr.bin/tar/prepend_args.c
@@ -24,6 +24,7 @@
#endif
#include <sys/param.h>
#include "prepend_args.h"
+#include "port.h"
/* Find the white-space-separated options specified by OPTIONS, and
OpenPOWER on IntegriCloud