From: Ivo Raisr Date: Tue, 26 Jan 2016 04:31:04 +0000 (+0000) Subject: Fix compilation error on Solaris. X-Git-Tag: svn/VALGRIND_3_12_0~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8952c86a9cf5bf48c3b2a9ebc392fdd6f095f362;p=thirdparty%2Fvalgrind.git Fix compilation error on Solaris. Include only on x86/amd64 architecture. n-i-bz git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15774 --- diff --git a/memcheck/tests/solaris/thr_daemon_exit_standalone.c b/memcheck/tests/solaris/thr_daemon_exit_standalone.c index cf1987f7c4..d319bcd434 100644 --- a/memcheck/tests/solaris/thr_daemon_exit_standalone.c +++ b/memcheck/tests/solaris/thr_daemon_exit_standalone.c @@ -3,10 +3,13 @@ #include #include -#include #include #include +#if defined(__amd64) || defined(__i386) +#include +#endif + extern void bzero(void *ptr, size_t n); #if defined(VGP_x86_solaris)