tag 456068 patch
thanks

Martin Michlmayr <[EMAIL PROTECTED]> (12/12/2007):
> Package: guessnet
> Version: 0.47-1
> Usertags: ftbfs-gcc-4.3

Hi,

please find attached a patch to fix this FTBFS.

Cheers,

-- 
Cyril Brulebois
--- a/src/GuessnetParser.cc
+++ b/src/GuessnetParser.cc
@@ -32,6 +32,8 @@
 
 #include <string>
 
+#include <memory>
+
 using namespace std;
 using namespace scanner;
 
--- a/src/IfaceParser.cc
+++ b/src/IfaceParser.cc
@@ -39,6 +39,7 @@
 #include "Environment.h"
 
 #include <map>
+#include <memory>
 
 using namespace std;
 using namespace scanner;
--- a/src/scanner/dhcp.cc
+++ b/src/scanner/dhcp.cc
@@ -27,6 +27,8 @@
 
 #include <netinet/in.h> // ntohs, htons, ...
 
+#include <memory>
+
 /*
 extern "C" {
 #include <libnet.h>
--- a/src/scanner/linkbeat.cc
+++ b/src/scanner/linkbeat.cc
@@ -25,6 +25,8 @@
 #include "IFace.h"
 #include "Environment.h"
 
+#include <memory>
+
 using namespace std;
 
 namespace scanner {
--- a/src/scanner/peer.cc
+++ b/src/scanner/peer.cc
@@ -27,6 +27,8 @@
 
 #include <netinet/in.h> // ntohs, htons, ...
 
+#include <memory>
+
 /*
 extern "C" {
 #include <libnet.h>
--- a/src/scanner/script.cc
+++ b/src/scanner/script.cc
@@ -24,6 +24,8 @@
 #include "util/output.h"
 #include "Environment.h"
 
+#include <memory>
+
 using namespace std;
 using namespace wibble::sys;
 
--- a/src/scanner/scanbag-tut.cc
+++ b/src/scanner/scanbag-tut.cc
@@ -22,6 +22,8 @@
 #include "scanner/linkbeat.h"
 #include "scanner/script.h"
 
+#include <memory>
+
 namespace tut {
 using namespace std;
 using namespace scanner;
--- a/src/tests/tut-main.cpp
+++ b/src/tests/tut-main.cpp
@@ -1,6 +1,9 @@
 #include <wibble/tests.h>
 #include <signal.h>
 
+#include <cstdlib>
+#include <cstring>
+
 namespace tut {
   test_runner_singleton runner;
 }
--- a/tests/tut-main.cpp
+++ b/tests/tut-main.cpp
@@ -2,6 +2,10 @@
 #include <tut_reporter.h>
 #include <signal.h>
 
+#include <cstdlib>
+#include <cstring>
+#include <stdexcept>
+
 namespace tut
 {
   test_runner_singleton runner;

Attachment: signature.asc
Description: Digital signature

Reply via email to