f223ab0b02
- Update to 2.13: * generic_fp backtracing method now uses robust address probing method. The previous approach had occasional false positives, which caused occasional rare crashes. * fix pkg-config files * we now support HEAPPROFILE_USE_PID and CPUPROFILE_USE_PID environment variables that force profile filenames to have pid appended. Which will be useful for some programs that fork for parallelism * MPI detection has been extended OBS-URL: https://build.opensuse.org/request/show/1114279 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gperftools?expand=0&rev=64
13 lines
338 B
Diff
13 lines
338 B
Diff
Index: gperftools-2.13/src/base/elf_mem_image.h
|
|
===================================================================
|
|
--- gperftools-2.13.orig/src/base/elf_mem_image.h
|
|
+++ gperftools-2.13/src/base/elf_mem_image.h
|
|
@@ -47,6 +47,7 @@
|
|
|
|
#define HAVE_ELF_MEM_IMAGE 1
|
|
|
|
+#include <cstddef>
|
|
#include <stdlib.h>
|
|
#include <link.h> // for ElfW
|
|
|