summaryrefslogtreecommitdiff
path: root/debian/patches/fix-missing-includes.patch
blob: 971d962bf92ca9fa807bc1c7d104b3ab221176b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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