1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Don't provide a prototype for xmalloc on FreeBSD/Alpha so this builds

again.
This commit is contained in:
Steve Price 2000-02-13 16:50:50 +00:00
parent 0e7d6f76fe
commit e1cff1a0f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25755

12
net/gtic/files/patch-af Normal file
View File

@ -0,0 +1,12 @@
--- src/xmalloc.h.orig Sun Feb 6 10:50:42 2000
+++ src/xmalloc.h Sun Feb 6 10:51:14 2000
@@ -1,7 +1,9 @@
#ifndef __XMALLOC_H
#define __XMALLOC_H
+#if !defined(__FreeBSD__) || !defined(__alpha__)
void *xmalloc(size_t size);
+#endif
void xfree(void *ptr);
#endif