valkyrie (2.0.0-1) add_missing_headers.patch

Summary

 src/objects/tool_object.cpp |    2 ++
 src/utils/vk_config.cpp     |    3 +++
 src/utils/vk_utils.cpp      |    3 +++
 3 files changed, 8 insertions(+)

    
download this patch

Patch contents

Description: valkyrie FTBFS due to some missing headers, add them
 This patch adds the missing headers needed for make valkyrie compilable with
 gcc-4.7 / g++-4.7 .
Author: Laszlo Boszormenyi (GCS) <gcs@debian.hu>

---
Origin: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
Forwarded: no
Last-Update: 2012-05-21

--- valkyrie-2.0.0.orig/src/objects/tool_object.cpp
+++ valkyrie-2.0.0/src/objects/tool_object.cpp
@@ -42,6 +42,8 @@ stopProcess()
        ->(timeout)-> killProc() ->(QtProc::kill)-> processDone() -> DONE
 */
 
+#include <unistd.h>
+
 #include "objects/tool_object.h"
 #include "toolview/toolview.h"
 #include "utils/vk_config.h"
--- valkyrie-2.0.0.orig/src/utils/vk_utils.cpp
+++ valkyrie-2.0.0/src/utils/vk_utils.cpp
@@ -17,6 +17,9 @@
 **
 ****************************************************************************/
 
+#include <sys/types.h>
+#include <unistd.h>
+
 #include "vk_utils.h"
 #include "options/vk_option.h"
 #include "utils/vk_config.h"        // vkname()
--- valkyrie-2.0.0.orig/src/utils/vk_config.cpp
+++ valkyrie-2.0.0/src/utils/vk_config.cpp
@@ -18,6 +18,9 @@
 **
 ****************************************************************************/
 
+#include <unistd.h>
+#include <sys/types.h>
+
 #include "vk_config.h"
 #include "objects/valkyrie_object.h"
 #include "options/vk_option.h"