--- configure.orig	2005-06-16 06:44:07
+++ configure	2023-02-22 12:41:21
@@ -5224,8 +5224,8 @@
   for (i = 0; i < 256; i++)
     if (XOR (islower (i), ISLOWER (i))
 	|| toupper (i) != TOUPPER (i))
-      exit(2);
-  exit (0);
+      return (2);
+  return (0);
 }
 _ACEOF
 rm -f conftest$ac_exeext
--- src/svg_paint.c.orig	2005-04-12 01:43:59
+++ src/svg_paint.c	2024-10-03 13:45:52
@@ -20,6 +20,7 @@
    Author: Carl Worth <cworth@isi.edu>
 */
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "svgint.h"
--- src/svg_image.c.orig	2024-10-03 13:34:56
+++ src/svg_image.c	2024-10-03 13:46:59
@@ -20,6 +20,7 @@
    Author: Carl Worth <cworth@isi.edu>
 */
 
+#include <stdlib.h>
 #include <string.h>
 #include <png.h>
 #include <jpeglib.h>
--- src/svg_group.c.orig	2005-04-12 01:43:30
+++ src/svg_group.c	2024-10-03 13:48:02
@@ -19,6 +19,8 @@
   
    Author: Carl Worth <cworth@isi.edu>
 */
+
+#include <stdlib.h>
 
 #include "svgint.h"
 
--- src/svg_gradient.c.orig	2005-04-12 01:45:06
+++ src/svg_gradient.c	2024-10-03 13:48:49
@@ -22,6 +22,7 @@
 
 #include "svgint.h"
 
+#include <stdlib.h>
 #include <string.h>
 
 svg_status_t
--- src/svg_element.c.orig	2005-04-22 04:51:42
+++ src/svg_element.c	2024-10-03 13:49:36
@@ -20,6 +20,7 @@
    Author: Carl Worth <cworth@isi.edu>
 */
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "svgint.h"
--- src/svg.c.orig	2005-04-12 01:43:10
+++ src/svg.c	2024-10-03 13:51:01
@@ -22,6 +22,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #include <libgen.h>
--- src/svg_parser.c.orig	2005-04-22 04:52:30
+++ src/svg_parser.c	2024-10-03 14:12:46
@@ -23,6 +23,7 @@
 */
 
 #include <stdarg.h>
+#include <stdlib.h>
 #include <math.h>
 #include <string.h>
 
--- src/svg_color.c.orig	2004-06-05 02:21:01
+++ src/svg_color.c	2024-10-03 14:13:58
@@ -20,6 +20,7 @@
    Author: Raph Levien <raph@artofcode.com>
 */
 
+#include <stdlib.h>
 #include <string.h>
 #include <math.h>
 
--- src/svg_str.c.orig	2005-01-21 23:53:07
+++ src/svg_str.c	2024-10-03 14:16:49
@@ -22,6 +22,8 @@ void
 
 #include "svgint.h"
 
+#include <stdlib.h>
+
 void
 _svg_str_skip_space (const char **str)
 {
--- src/svg_style.c.orig	2005-06-16 05:36:18
+++ src/svg_style.c	2024-10-03 14:17:36
@@ -21,6 +21,7 @@
 */
 
 #include <math.h>
+#include <stdlib.h>
 #include <string.h>
 
 #include "svgint.h"
--- src/svg_text.c.orig	2005-04-22 05:26:06
+++ src/svg_text.c	2024-10-03 14:18:14
@@ -20,6 +20,7 @@
    Author: Carl Worth <cworth@isi.edu>
 */
 
+#include <stdlib.h>
 #include <string.h>
 
 #include "svgint.h"
--- src/svg_parser_libxml.c.orig	2005-04-12 02:05:58
+++ src/svg_parser_libxml.c	2024-10-03 14:19:06
@@ -23,6 +23,7 @@
 */
 
 #include <stdarg.h>
+#include <stdlib.h>
 #include <math.h>
 #include <string.h>
 
