Blob Blame History Raw
diff -urN player-2.1.1/server/drivers/laser/lms400_cola.cc player-2.1.1-gcc43/server/drivers/laser/lms400_cola.cc
--- player-2.1.1/server/drivers/laser/lms400_cola.cc	2008-06-11 03:11:17.000000000 +0200
+++ player-2.1.1-gcc43/server/drivers/laser/lms400_cola.cc	2008-08-01 23:45:08.000000000 +0200
@@ -6,6 +6,9 @@
 */
 #include <sys/socket.h>
 #include <netdb.h>
+#include <cstring>
+#include <cstdlib>
+#include <unistd.h>
 #include <libplayercore/playercore.h>
 
 #include "lms400_cola.h"
diff -urN player-2.1.1/server/drivers/mixed/mricp/src/geometry2D.cpp player-2.1.1-gcc43/server/drivers/mixed/mricp/src/geometry2D.cpp
--- player-2.1.1/server/drivers/mixed/mricp/src/geometry2D.cpp	2008-04-13 00:15:58.000000000 +0200
+++ player-2.1.1-gcc43/server/drivers/mixed/mricp/src/geometry2D.cpp	2008-08-01 23:43:40.000000000 +0200
@@ -5,6 +5,7 @@
 #include "geometry2D.h"
 #include <cmath>
 #include <cassert>
+#include <cstdio>
 
 using namespace std;
 
diff -urN player-2.1.1/server/drivers/mixed/mricp/src/map.cpp player-2.1.1-gcc43/server/drivers/mixed/mricp/src/map.cpp
--- player-2.1.1/server/drivers/mixed/mricp/src/map.cpp	2008-04-13 00:15:58.000000000 +0200
+++ player-2.1.1-gcc43/server/drivers/mixed/mricp/src/map.cpp	2008-08-01 23:43:40.000000000 +0200
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <cassert>
 #include <iostream>
+#include <cstdlib>
 using namespace std;
 
 
diff -urN player-2.1.1/server/drivers/rfid/rfi341_protocol.cc player-2.1.1-gcc43/server/drivers/rfid/rfi341_protocol.cc
--- player-2.1.1/server/drivers/rfid/rfi341_protocol.cc	2008-06-16 01:37:38.000000000 +0200
+++ player-2.1.1-gcc43/server/drivers/rfid/rfi341_protocol.cc	2008-08-01 23:43:40.000000000 +0200
@@ -8,6 +8,7 @@
 #include <iostream>
 #include <unistd.h>
 #include <fcntl.h>
+#include <stdlib.h>
 #include <libplayercore/playercore.h>
 #include <libplayercore/playercommon.h>
 #include <stddef.h>
diff -urN player-2.1.1/server/drivers/vectormap/vec2map.cc player-2.1.1-gcc43/server/drivers/vectormap/vec2map.cc
--- player-2.1.1/server/drivers/vectormap/vec2map.cc	2008-04-16 04:40:20.000000000 +0200
+++ player-2.1.1-gcc43/server/drivers/vectormap/vec2map.cc	2008-08-01 23:43:40.000000000 +0200
@@ -84,6 +84,7 @@
 #include <cstring>
 #include <cstdio>
 #include <cstdarg>
+#include <cstdlib>
 #include <ctime>
 #include <cmath>
 #include <vector>
@@ -365,8 +366,8 @@
 void Vec2Map::line(int a, int b, int c, int d, int8_t * cells, int width, int height)
 {
     double x, y;
-    int distX = abs(a - c);
-    int distY = abs(b - d);
+    int distX = labs(a - c);
+    int distY = labs(b - d);
     double wspX;
     double wspY;
 
diff -urN player-2.1.1/server/drivers/wifi/aodv.cc player-2.1.1-gcc43/server/drivers/wifi/aodv.cc
--- player-2.1.1/server/drivers/wifi/aodv.cc	2008-06-16 01:37:38.000000000 +0200
+++ player-2.1.1-gcc43/server/drivers/wifi/aodv.cc	2008-08-01 23:43:40.000000000 +0200
@@ -74,6 +74,7 @@
 #include <stddef.h>
 #include <stdlib.h>
 #include <netinet/in.h>
+#include <stdlib.h>
 
 #include <libplayercore/playercore.h>