Author: emaste
Date: Fri Aug 23 12:42:13 2013
New Revision: 254689
URL: http://svnweb.freebsd.org/changeset/base/254689

Log:
  FreeBSD compatibility for libexecinfo

Modified:
  head/contrib/libexecinfo/backtrace.c
  head/contrib/libexecinfo/symtab.c

Modified: head/contrib/libexecinfo/backtrace.c
==============================================================================
--- head/contrib/libexecinfo/backtrace.c        Fri Aug 23 12:38:51 2013        
(r254688)
+++ head/contrib/libexecinfo/backtrace.c        Fri Aug 23 12:42:13 2013        
(r254689)
@@ -33,6 +33,7 @@ __RCSID("$NetBSD: backtrace.c,v 1.2 2012
 
 #include <sys/param.h>
 #include <assert.h>
+#define _WITH_DPRINTF
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>

Modified: head/contrib/libexecinfo/symtab.c
==============================================================================
--- head/contrib/libexecinfo/symtab.c   Fri Aug 23 12:38:51 2013        
(r254688)
+++ head/contrib/libexecinfo/symtab.c   Fri Aug 23 12:42:13 2013        
(r254689)
@@ -33,6 +33,7 @@ __RCSID("$NetBSD: symtab.c,v 1.1 2012/05
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <string.h>
 #include <err.h>
 #include <dlfcn.h>
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to