summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2016-10-03 09:22:26 +0200
committerDidier Raboud <odyx@debian.org>2016-10-03 09:22:26 +0200
commit7cc82564640db6c67403089760283c0a9d393b83 (patch)
tree143be3fb87ab7d6fa0f05291da9a20b04b720b2b
parent6b6e31775ea7da080f2cfe5944804243882f13ce (diff)
Fix various missing includes
Last-Update: 2016-10-03 Gbp-Pq: Name fix-missing-includes.patch
-rw-r--r--src/c2espcommon.h1
-rw-r--r--src/command2esp.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/c2espcommon.h b/src/c2espcommon.h
index 471f46a..088a2b8 100644
--- 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
diff --git a/src/command2esp.c b/src/command2esp.c
index 529342c..e30357e 100644
--- a/src/command2esp.c
+++ b/src/command2esp.c
@@ -44,6 +44,7 @@ Maintenance=003?
#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