Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Apr 2006 00:07:02 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95119 for review
Message-ID:  <200604130007.k3D072WL094656@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95119

Change 95119 by jb@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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604130007.k3D072WL094656>