libetpan/libetpan-20130506git-NULL-missing-include.patch

28 lines
864 B
Diff
Raw Normal View History

--- a/src/low-level/imap/mailimap_id_sender.c
+++ b/src/low-level/imap/mailimap_id_sender.c
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include "mailimap_id_sender.h"
#include "mailimap_sender.h"
--- libetpan-20130506git.orig/src/data-types/mailstream_compress.c 2013-05-07 11:13:20.000000000 +0200
+++ libetpan-20130506git/src/data-types/mailstream_compress.c 2013-05-07 12:30:02.867004893 +0200
@@ -31,6 +31,7 @@
/* Created by Ian Ragsdale on 3/8/13. */
+#include <config.h>
#include "mailstream_compress.h"
#if !HAVE_ZLIB
--- libetpan-20130506git.orig/src/low-level/imap/mailimap_compress.c 2013-05-07 11:13:20.000000000 +0200
+++ libetpan-20130506git/src/low-level/imap/mailimap_compress.c 2013-05-07 12:29:29.436336744 +0200
@@ -29,6 +29,7 @@
* SUCH DAMAGE.
*/
+#include <stdlib.h>
#include "mailimap_compress.h"
#include "mailimap.h"