PERFORCE change 95119 for review

John Birrell jb at FreeBSD.org
Thu Apr 13 00:07:05 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=95119

Change 95119 by jb at jb_freebsd2 on 2006/04/13 00:06:24

	Solaris uses malloc.h. We use stdlib.h.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/misc/String.c#2 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/misc/String.c#2 (text) ====

@@ -39,7 +39,11 @@
 #include <setjmp.h>
 #include <assert.h>
 #include <string.h>
+#if defined(sun)
 #include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
 #include "elf_dem.h"
 #include "String.h"
 


More information about the p4-projects mailing list