LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File include-fix.patch of Package powershell-libpsrpclient (Project home:aaptel:powershell-stuff)

Index: powershell-libpsrpclient-1.4.1.29/omi/Unix/pal/palcommon.h
===================================================================
--- powershell-libpsrpclient-1.4.1.29.orig/omi/Unix/pal/palcommon.h
+++ powershell-libpsrpclient-1.4.1.29/omi/Unix/pal/palcommon.h
@@ -13,7 +13,6 @@
 #include <stdarg.h>
 #include <stddef.h>
 #include <stdlib.h>
-#include <string.h>
 #include <wchar.h>
 
 #if defined(_MSC_VER)
@@ -325,6 +324,9 @@ typedef unsigned char PAL_Boolean;
 #define PAL_TRUE ((PAL_Boolean)1)
 #define PAL_FALSE ((PAL_Boolean)0)
 
+#include </usr/include/string.h>
+#include </usr/include/strings.h>
+
 /*
 **==============================================================================
 **
Index: powershell-libpsrpclient-1.4.1.29/omi/Unix/pal/strings.h
===================================================================
--- powershell-libpsrpclient-1.4.1.29.orig/omi/Unix/pal/strings.h
+++ powershell-libpsrpclient-1.4.1.29/omi/Unix/pal/strings.h
@@ -57,7 +57,8 @@
 #endif
 #include <wchar.h>
 #include <ctype.h>
-#include <string.h>
+#include </usr/include/string.h>
+#include </usr/include/strings.h>
 #ifdef _PREFAST_
  #pragma prefast(pop)
 #endif