Package: mrd6
Version: 0.9.6-1.2
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu jaunty ubuntu-patch

Hi,

There are two instances where your package needs to include
limits.h. One for a use of PATH_MAX, the other for a use of
INT_MAX. Attached is a patch to do this, please consider applying
it.

Thanks,

James
diff -u mrd6-0.9.6/src/mrd.cpp mrd6-0.9.6/src/mrd.cpp
--- mrd6-0.9.6/src/mrd.cpp
+++ mrd6-0.9.6/src/mrd.cpp
@@ -44,6 +44,7 @@
 #include <cstdarg>
 #include <cstdlib>
 #include <errno.h>
+#include <climits>
 
 #include <unistd.h>
 #include <fcntl.h>
only in patch2:
unchanged:
--- mrd6-0.9.6.orig/src/bgp/bgp.cpp
+++ mrd6-0.9.6/src/bgp/bgp.cpp
@@ -35,6 +35,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <unistd.h>
+#include <limits.h>
 
 #include <map>
 

Reply via email to