Blame SOURCES/c2esp-ftbfs-gcc7.patch

3b2beb
diff -up c2esp-27/src/c2espC.c.ftbfs-gcc7 c2esp-27/src/c2espC.c
3b2beb
diff -up c2esp-27/src/c2espcommon.c.ftbfs-gcc7 c2esp-27/src/c2espcommon.c
3b2beb
--- c2esp-27/src/c2espcommon.c.ftbfs-gcc7	2017-03-03 14:10:28.018395128 +0100
3b2beb
+++ c2esp-27/src/c2espcommon.c	2017-03-03 14:19:26.967383931 +0100
3b2beb
@@ -24,6 +24,7 @@
3b2beb
 #include <fcntl.h> //files
3b2beb
 #include <sys/stat.h> //for chmod
3b2beb
 #include <time.h> //time functions used for debugging
3b2beb
+#include <stdlib.h>
3b2beb
 
3b2beb
 #if HAVE_CUPSFILTERS_DRIVER_H == 1
3b2beb
 #include <cupsfilters/driver.h> //has the dither functions
3b2beb
diff -up c2esp-27/src/c2espcommon.h.ftbfs-gcc7 c2esp-27/src/c2espcommon.h
3b2beb
--- c2esp-27/src/c2espcommon.h.ftbfs-gcc7	2017-03-03 14:25:54.186413550 +0100
3b2beb
+++ c2esp-27/src/c2espcommon.h	2017-03-03 14:26:53.105961575 +0100
3b2beb
@@ -21,6 +21,7 @@
3b2beb
 #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
3b2beb
 #include <fcntl.h> //files
3b2beb
 #include <time.h> //time functions used for debugging
3b2beb
+#include <stdio.h> //library for stderr, stdout, stdin - because of gcc7, it needed to be included
3b2beb
 
3b2beb
 /*
3b2beb
  * Constants...