Package: libassa / 3.5.1-6

01-include-fixes.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Description: Modify includes
 This patch corrects the include headers on some source files
Author: Eric Dorland <eric@debian.org>
Last-Update: 2012-06-12
diff --git a/assa/CommonUtils.h b/assa/CommonUtils.h
index 2db38d2..8b52240 100644
--- a/assa/CommonUtils.h
+++ b/assa/CommonUtils.h
@@ -15,6 +15,7 @@
 #define COMMON_UTILS_H
 
 #include <sstream>
+#include <unistd.h>
 
 #include <string> 
 #include <vector>
diff --git a/assa/Logger_Impl.cpp b/assa/Logger_Impl.cpp
index 684d7b9..5284a03 100644
--- a/assa/Logger_Impl.cpp
+++ b/assa/Logger_Impl.cpp
@@ -12,6 +12,7 @@
 //  version 2 of the License, or (at your option) any later version.
 //------------------------------------------------------------------------------
 
+#include <cstdio>
 #include <iostream>
 #include <iomanip>
 #include <string.h>				// strerror(3)
diff --git a/assa/Logger_Impl.h b/assa/Logger_Impl.h
index ea5a9a3..87f01f0 100644
--- a/assa/Logger_Impl.h
+++ b/assa/Logger_Impl.h
@@ -15,6 +15,7 @@
 #define LOGGER_IMPL_H
 
 #include <errno.h>
+#include <cstdarg>
 #include <string>
 #include <stdio.h>