Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
google-perftools
google-perftools-memcmp_from_string_h.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File google-perftools-memcmp_from_string_h.patch of Package google-perftools
Index: google-perftools-0.94.1/src/maybe_threads.cc =================================================================== --- google-perftools-0.94.1.orig/src/maybe_threads.cc +++ google-perftools-0.94.1/src/maybe_threads.cc @@ -46,6 +46,10 @@ #include "maybe_threads.h" #include "base/basictypes.h" +// We *do* however need string.h in order to get a definition of memcmp +// used in perftools_pthread_once() +#include <string.h> + // __THROW is defined in glibc systems. It means, counter-intuitively, // "This function will never throw an exception." It's an optional // optimization tool, but we may need to use it to match glibc prototypes. Index: google-perftools-0.94.1/src/base/logging.cc =================================================================== --- google-perftools-0.94.1.orig/src/base/logging.cc +++ google-perftools-0.94.1/src/base/logging.cc @@ -31,6 +31,7 @@ // This file just provides storage for FLAGS_verbose. #include "base/commandlineflags.h" +#include <stdlib.h> DEFINE_int32(verbose, EnvToInt("PERFTOOLS_VERBOSE", 0), "Set to numbers >0 for more verbose output, or <0 for less. "
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor