--- old/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c 2017-04-13 09:11:37.738759876 -0700 +++ new/src/jdk.hotspot.agent/linux/native/libsaproc/ps_proc.c 2017-04-13 09:11:37.562756687 -0700 @@ -22,6 +22,8 @@ * */ +#ifdef INCLUDE_SA_ATTACH + #include #include #include @@ -415,3 +417,5 @@ } return ph; } + +#endif // INCLUDE_SA_ATTACH