Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 23:36:23 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95115 for review
Message-ID:  <200604122336.k3CNaNkH077759@repoman.freebsd.org>

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

Change 95115 by jb@jb_freebsd2 on 2006/04/12 23:36:18

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

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/update.c#2 edit

Differences ...

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

@@ -36,7 +36,11 @@
 
 #include "syn.h"
 #include <memory.h>
+#if	defined(sun)
 #include <malloc.h>
+#else
+#include <stdlib.h>
+#endif
 #include <limits.h>
 
 #include <sgs.h>



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