summaryrefslogtreecommitdiff
path: root/debian/patches/fix-missing-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/fix-missing-includes.patch')
-rw-r--r--debian/patches/fix-missing-includes.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/fix-missing-includes.patch b/debian/patches/fix-missing-includes.patch
new file mode 100644
index 0000000..971d962
--- /dev/null
+++ b/debian/patches/fix-missing-includes.patch
@@ -0,0 +1,23 @@
+Description: Fix various missing includes
+Author: Didier Raboud <odyx@debian.org>
+Last-Update: 2016-10-03
+--- a/src/command2esp.c
++++ b/src/command2esp.c
+@@ -44,6 +44,7 @@
+ #include <cups/cups.h>
+ #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
+ #include "string.h"
++#include "strings.h" // strncasecmp
+ #include <ctype.h>
+ #include <fcntl.h> //files
+ #include <time.h> //time functions used for debugging
+--- a/src/c2espcommon.h
++++ b/src/c2espcommon.h
+@@ -19,6 +19,7 @@
+ */
+
+ #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
++#include <stdio.h> // FILE
+ #include <fcntl.h> //files
+ #include <time.h> //time functions used for debugging
+