mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
a726826cac
Submitted by: Adam Weinberger <adam@vectors.cx> PR: ports/42452
13 lines
354 B
Plaintext
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); \
|