3e1318f
diff --git a/src/condor_daemon_core.V6/stdsoap2.h.patch b/src/condor_daemon_core.V6/stdsoap2.h.patch
3e1318f
index a0fe3ed..c84abe7 100644
3e1318f
--- a/src/condor_daemon_core.V6/stdsoap2.h.patch
3e1318f
+++ b/src/condor_daemon_core.V6/stdsoap2.h.patch
3e1318f
@@ -47,7 +47,7 @@
3e1318f
 @@ -418,8 +427,8 @@
3e1318f
  #endif
3e1318f
  
3e1318f
- #if defined(__cplusplus) && !defined(WITH_LEAN)
3e1318f
+ #if defined(__cplusplus) && !defined(WITH_LEAN) && !defined(WITH_COMPAT)
3e1318f
 -# include <string>
3e1318f
 -# include <iostream>
3e1318f
 +# include <string.h>