1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/print/bibcard/files/patch-04
Kris Kennaway a726826cac Fix build.
Submitted by:	Adam Weinberger <adam@vectors.cx>
PR:		ports/42452
2002-10-14 01:07:44 +00:00

13 lines
354 B
Plaintext

--- bt.h.orig Thu Sep 5 10:21:18 2002
+++ bt.h Thu Sep 5 10:22:45 2002
@@ -47,7 +47,9 @@
#define LD_ERROR 98
extern char * strdup();
+#if !defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(_bsdi__)
extern char * realloc();
+#endif
#define set_str(x, new)\
if (x) free(x); \
if (new) x = strdup(new); \