$NetBSD$

--- libiberty/xmalloc.c.orig	2017-01-04 11:30:51.008842000 +0000
+++ libiberty/xmalloc.c
@@ -70,6 +70,7 @@ function will be called to print an erro
 #include <stdio.h>
 
 #include <stddef.h>
+#define PTR	void *
 
 #if VMS
 #include <stdlib.h>
