Placed guards around strdup declaration to avoid compiler errors on sane

systems.
This commit is contained in:
Ed Beroset 2004-12-17 00:55:19 +00:00
parent 64ab51965a
commit 184cef59d6

View File

@ -156,7 +156,9 @@ struct CommonRec {
#ifdef RDOFF_UTILS
/* Some systems don't define this automatically */
#if !defined(strdup)
extern char *strdup(const char *);
#endif
typedef union RDFHeaderRec {
char type; /* invariant throughout all below */