aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/gold.h b/gold/gold.h
index bf014e8..9dca4a8 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -141,6 +141,14 @@ extern "C" void *mremap(void *, size_t, size_t, int, ...);
extern "C" int ffsll(long long);
#endif
+#if !HAVE_DECL_MEMMEM
+extern "C" void *memmem(const void *, size_t, const void *, size_t);
+#endif
+
+#if !HAVE_DECL_STRNDUP
+extern "C" char *strndup(const char *, size_t);
+#endif
+
namespace gold
{