projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ab519
)
Placed guards around strdup declaration to avoid compiler errors on sane
author
Ed Beroset
<beroset@mindspring.com>
Fri, 17 Dec 2004 00:55:19 +0000
(
00:55
+0000)
committer
Ed Beroset
<beroset@mindspring.com>
Fri, 17 Dec 2004 00:55:19 +0000
(
00:55
+0000)
systems.
rdoff/rdoff.h
patch
|
blob
|
history
diff --git
a/rdoff/rdoff.h
b/rdoff/rdoff.h
index
dd43126
..
d6c54b2
100644
(file)
--- 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 */