LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File graphviz-missing_headers.patch of Package graphviz-plugins (Project graphics)

Index: graphviz-2.28.0/lib/cdt/cdt.h
===================================================================
--- graphviz-2.28.0.orig/lib/cdt/cdt.h	2010-04-26 20:35:08.000000000 +0200
+++ graphviz-2.28.0/lib/cdt/cdt.h	2011-10-03 15:47:24.632084472 +0200
@@ -17,6 +17,7 @@
 #endif
 
 #include <stddef.h>	/* size_t */
+#include <string.h>
 
 #ifndef _BEGIN_EXTERNS_
 #define _BEGIN_EXTERNS_
@@ -238,11 +239,6 @@ extern int		dtsize _ARG_((Dt_t*));
 extern int		dtstat _ARG_((Dt_t*, Dtstat_t*, int));
 extern unsigned int	dtstrhash _ARG_((unsigned int, Void_t*, int));
 
-#if !_PACKAGE_ast
-extern int		memcmp _ARG_((const Void_t*, const Void_t*, size_t));
-extern int		strcmp _ARG_((const char*, const char*));
-#endif
-
 #undef extern
 _END_EXTERNS_