diff options
author | Ed Beroset <beroset@mindspring.com> | 2004-12-17 00:55:19 +0000 |
---|---|---|
committer | Ed Beroset <beroset@mindspring.com> | 2004-12-17 00:55:19 +0000 |
commit | 184cef59d63d504d735570e1d014e134f9905272 (patch) | |
tree | a0b385bcdbc2b51e36f31c50bdc5b41821835a99 /rdoff | |
parent | 64ab51965a95a64ee863cdffdfbc8881dca4c53c (diff) | |
download | nasm-184cef59d63d504d735570e1d014e134f9905272.tar.gz nasm-184cef59d63d504d735570e1d014e134f9905272.tar.bz2 nasm-184cef59d63d504d735570e1d014e134f9905272.zip |
Placed guards around strdup declaration to avoid compiler errors on sane
systems.
Diffstat (limited to 'rdoff')
-rw-r--r-- | rdoff/rdoff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rdoff/rdoff.h b/rdoff/rdoff.h index dd43126..d6c54b2 100644 --- a/rdoff/rdoff.h +++ b/rdoff/rdoff.h @@ -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 */ |