merge -c1452 trunk: Headers. stable-1.4
authorFlorian Pose <fp@igh-essen.com>
Wed, 24 Sep 2008 10:30:30 +0000
branchstable-1.4
changeset 1636 b26170e168d9
parent 1635 a40e9b3e9e62
child 1637 96da44b24111
merge -c1452 trunk: Headers.
NEWS
tool/CommandSlaves.cpp
tool/CommandStates.cpp
tool/CommandXml.cpp
tool/MasterDevice.cpp
tool/main.cpp
--- a/NEWS	Wed Sep 24 08:52:21 2008 +0000
+++ b/NEWS	Wed Sep 24 10:30:30 2008 +0000
@@ -10,6 +10,7 @@
   mailbox protocols.
 * The Sdo Information Service is only queried, if the slave has the
   corresponding SII bit set.
+* Added some missing header files in the command-line-tool code.
 
 Changes in version 1.4.0-rc2:
 
--- a/tool/CommandSlaves.cpp	Wed Sep 24 08:52:21 2008 +0000
+++ b/tool/CommandSlaves.cpp	Wed Sep 24 10:30:30 2008 +0000
@@ -7,6 +7,7 @@
 #include <iostream>
 #include <iomanip>
 #include <list>
+#include <string.h>
 using namespace std;
 
 #include "CommandSlaves.h"
--- a/tool/CommandStates.cpp	Wed Sep 24 08:52:21 2008 +0000
+++ b/tool/CommandStates.cpp	Wed Sep 24 10:30:30 2008 +0000
@@ -5,6 +5,7 @@
  ****************************************************************************/
 
 #include <iostream>
+#include <algorithm>
 using namespace std;
 
 #include "CommandStates.h"
--- a/tool/CommandXml.cpp	Wed Sep 24 08:52:21 2008 +0000
+++ b/tool/CommandXml.cpp	Wed Sep 24 10:30:30 2008 +0000
@@ -6,6 +6,7 @@
 
 #include <iostream>
 #include <iomanip>
+#include <string.h>
 using namespace std;
 
 #include "CommandXml.h"
--- a/tool/MasterDevice.cpp	Wed Sep 24 08:52:21 2008 +0000
+++ b/tool/MasterDevice.cpp	Wed Sep 24 10:30:30 2008 +0000
@@ -8,6 +8,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <sys/ioctl.h>
+#include <string.h>
 
 #include <sstream>
 #include <iomanip>
--- a/tool/main.cpp	Wed Sep 24 08:52:21 2008 +0000
+++ b/tool/main.cpp	Wed Sep 24 10:30:30 2008 +0000
@@ -6,6 +6,7 @@
 
 #include <getopt.h>
 #include <libgen.h> // basename()
+#include <stdlib.h>
 
 #include <iostream>
 #include <iomanip>