diff --git a/Source/cmakexbuild.cxx b/Source/cmakexbuild.cxx
index 5f673fbb3..fc09b516f 100644
--- a/Source/cmakexbuild.cxx
+++ b/Source/cmakexbuild.cxx
@@ -1,5 +1,6 @@
 #include <cmsys/Process.h>
 #include "cmStandardIncludes.h"
+#include "cmSystemTools.h"
 
 // This is a wrapper program for xcodebuild
 // it calls xcodebuild, and does two things