tag 667167 patch
thanks

On Tue, Apr 03, 2012 at 11:08:52PM +0000, Matthias Klose wrote:
[...]
> /usr/include/simgear/math/SGMisc.hxx:66:59: error: 'floor' was not declared 
> in this scope, and no declarations were found by argument-dependent lookup at 
> the point of instantiation [-fpermissive]

As you mentioned in #667373, this is a bug in simgear; once that's
fixed, there's another missing include in flightgear itself:

--- flightgear-2.4.0~/utils/TerraSync/terrasync.cxx
+++ flightgear-2.4.0/utils/TerraSync/terrasync.cxx
@@ -29,9 +29,12 @@
 #include <windows.h>
 #endif
 
+#if HAVE_UNISTD_H
+#include <unistd.h>             // write(), getpid(), sleep()
+#endif
+
 #ifdef __MINGW32__
 #include <time.h>
-#include <unistd.h>
 #elif defined(_MSC_VER)
 #   include <io.h>
 #   ifndef HAVE_SVN_CLIENT_H

Cheers,

Matej



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to