SHA256
1
0
forked from pool/scribus
scribus/fix-implicit.patch

43 lines
744 B
Diff

--- scribus/md5.c
+++ scribus/md5.c
@@ -26,14 +26,8 @@
#include <sys/types.h>
-#if STDC_HEADERS || defined _LIBC
-# include <stdlib.h>
-# include <string.h>
-#else
-# ifndef HAVE_MEMCPY
-# define memcpy(d, s, n) bcopy ((s), (d), (n))
-# endif
-#endif
+#include <stdlib.h>
+#include <string.h>
#include "md5.h"
--- scribus/pixbuf/gdk-pixbuf-xlibrgb.c
+++ scribus/pixbuf/gdk-pixbuf-xlibrgb.c
@@ -49,16 +49,12 @@
#include <math.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
#if HAVE_CONFIG_H
# include "scconfig.h"
-# if STDC_HEADERS
-# include <stdio.h>
-# include <stdlib.h>
-# include <string.h>
-# endif
-#else
-# include <stdio.h>
-# include <stdlib.h>
#endif
#define ENABLE_GRAYSCALE