[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#456059: FTBFS with GCC 4.3: missing #includes



tag 456059 patch
thanks

Martin Michlmayr <tbm@cyrius.com> (12/12/2007):
> Package: aprsd
> Version: 1:2.2.5-13-4
> Usertags: ftbfs-gcc-4.3
> 
> More pain. :(

Here's the painkill^Wpatch.

Cheers,

-- 
Cyril Brulebois
--- a/src/aprsd.cpp
+++ b/src/aprsd.cpp
@@ -87,6 +87,8 @@
 #include "servers.h"
 #include "exceptionguard.h"
 
+#include <cstring>
+
 using namespace aprsd;
 using namespace std;
 
--- a/src/osdep.h
+++ b/src/osdep.h
@@ -50,6 +50,8 @@
 #endif  // !defined(HAVE_LIBPTHREAD) && defined(HAVE_LIBDCE) &&
     // defined(HAVE_LIBCMA)
 
+#include <cstring>
+
 #ifndef __GLIBC__
     extern int h_errno;
 #endif // __GLIBC__
--- a/src/validate.cpp
+++ b/src/validate.cpp
@@ -55,6 +55,8 @@
 
 #include "validate.h"
 
+#include <cstring>
+
 using namespace std;
 
 

Attachment: signature.asc
Description: Digital signature


Reply to: