NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/46571: execinfo.h should include stddef.h
>Number: 46571
>Category: lib
>Synopsis: execinfo.h should include stddef.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 09 21:20:00 +0000 2012
>Originator: Yui NARUSE
>Release: 6.99.7
>Organization:
>Environment:
NetBSD nbsd.rubyci.org 6.99.7 NetBSD 6.99.7 (GENERIC) #1: Sat Jun 9 19:35:02
JST 2012
naruse%nbsd.rubyci.org@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
lib/libexecinfo/execinfo.h uses size_t but doesn't include a header which
defines size_t.
It should include stddef.h
>How-To-Repeat:
>Fix:
Index: lib/libexecinfo/execinfo.h
===================================================================
RCS file: /cvsroot/src/lib/libexecinfo/execinfo.h,v
retrieving revision 1.1
diff -u -r1.1 execinfo.h
--- lib/libexecinfo/execinfo.h 26 May 2012 22:02:29 -0000 1.1
+++ lib/libexecinfo/execinfo.h 9 Jun 2012 21:15:13 -0000
@@ -31,6 +31,8 @@
#ifndef _EXECINFO_H_
#define _EXECINFO_H_
+#include <stddef.h>
+
__BEGIN_DECLS
size_t backtrace(void **, size_t);
char **backtrace_symbols(void *const *, size_t);
Home |
Main Index |
Thread Index |
Old Index