summaryrefslogtreecommitdiffstats
path: root/devel/dmalloc/patches/400-undef-strndup.patch
blob: e7141edc47f955a8d1a71a685c7be2efafca2ec7 (plain)
1
2
3
4
5
6
7
8
9
10
--- dmalloc-5.5.2/dmalloc.h.3	2012-04-11 22:59:21.624323311 +0200
+++ dmalloc-5.5.2.mod/dmalloc.h.3	2012-04-11 23:00:53.612325497 +0200
@@ -405,6 +405,7 @@
  *
  * string -> String we are duplicating.
  */
+#undef strdup
 extern
 char	*strdup(const char *string);
 #endif /* ifndef DMALLOC_STRDUP_MACRO */