Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libexecinfo make this standalone.



details:   https://anonhg.NetBSD.org/src/rev/b051591c50c8
branches:  trunk
changeset: 825126:b051591c50c8
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 30 21:39:43 2017 +0000

description:
make this standalone.

diffstat:

 lib/libexecinfo/execinfo.h |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 25da3ed7d38d -r b051591c50c8 lib/libexecinfo/execinfo.h
--- a/lib/libexecinfo/execinfo.h        Fri Jun 30 20:26:52 2017 +0000
+++ b/lib/libexecinfo/execinfo.h        Fri Jun 30 21:39:43 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: execinfo.h,v 1.2 2012/06/09 21:22:17 christos Exp $    */
+/*     $NetBSD: execinfo.h,v 1.3 2017/06/30 21:39:43 christos Exp $    */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -31,7 +31,14 @@
 #ifndef _EXECINFO_H_
 #define _EXECINFO_H_
 
-#include <stddef.h>
+#include <sys/cdefs.h>
+#include <sys/featuretest.h>
+#include <sys/ansi.h>
+  
+#ifdef  _BSD_SIZE_T_
+typedef _BSD_SIZE_T_    size_t;
+#undef  _BSD_SIZE_T_
+#endif
 
 __BEGIN_DECLS
 size_t backtrace(void **, size_t);



Home | Main Index | Thread Index | Old Index