Compiling on a different Linux distribution has brought this code
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 30 Oct 2008 19:19:41 +0000 (19:19 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 30 Oct 2008 19:19:41 +0000 (19:19 +0000)
into contact with a compiler picky enough to point out that I called
exit() without including stdlib.h. Surprised nothing's complained
about that one before, actually.

git-svn-id: svn://svn.tartarus.org/sgt/utils@8227 cda61777-01e9-0310-a592-d414129be87e

base64/base64.c

index 1c3d39e..52d8a12 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <stdlib.h>
 
 #define isbase64(c) (    ((c) >= 'A' && (c) <= 'Z') || \
                          ((c) >= 'a' && (c) <= 'z') || \