opnsense-ports/net/gtic/files/patch-src_xmalloc.h
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
249 B
C

--- 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__)
void *xmalloc(size_t size);
+#endif
void xfree(void *ptr);
#endif