diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-30 14:12:08 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-01-30 14:12:08 (GMT) |
commit | 275bf3fd017ca27c021d4c10cc9d3d82fff13922 (patch) | |
tree | d370b9f475c4ccd7d7f5487364cbb4c4607e63fd /src | |
parent | 81d78952f77e0d2a900f347264710563ba52d234 (diff) | |
download | uscxml-275bf3fd017ca27c021d4c10cc9d3d82fff13922.zip uscxml-275bf3fd017ca27c021d4c10cc9d3d82fff13922.tar.gz uscxml-275bf3fd017ca27c021d4c10cc9d3d82fff13922.tar.bz2 |
Builds on linux again
Diffstat (limited to 'src')
-rw-r--r-- | src/uscxml/Interpreter.h | 1 | ||||
-rw-r--r-- | src/uscxml/Message.cpp | 6 | ||||
-rw-r--r-- | src/uscxml/plugins/invoker/filesystem/dirmon/FileWatcher/FileWatcherLinux.cpp | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index 54c7a78..334b2ad 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -28,6 +28,7 @@ namespace uscxml { class InterpreterMonitor { public: + virtual ~InterpreterMonitor() {} virtual void onStableConfiguration(Interpreter* interpreter) {} virtual void beforeCompletion(Interpreter* interpreter) {} virtual void afterCompletion(Interpreter* interpreter) {} diff --git a/src/uscxml/Message.cpp b/src/uscxml/Message.cpp index 8a3ee1e..a78937f 100644 --- a/src/uscxml/Message.cpp +++ b/src/uscxml/Message.cpp @@ -1,9 +1,15 @@ +#include "uscxml/config.h" + #include "uscxml/Common.h" #include "uscxml/Message.h" //#include "uscxml/Interpreter.h" #include <DOM/SAX2DOM/SAX2DOM.hpp> #include <SAX/helpers/CatchErrorHandler.hpp> +#ifdef HAS_STRING_H +#include <string.h> +#endif + extern "C" { #include "jsmn.h" // minimal json parser } diff --git a/src/uscxml/plugins/invoker/filesystem/dirmon/FileWatcher/FileWatcherLinux.cpp b/src/uscxml/plugins/invoker/filesystem/dirmon/FileWatcher/FileWatcherLinux.cpp index ecbaa32..ea5d259 100644 --- a/src/uscxml/plugins/invoker/filesystem/dirmon/FileWatcher/FileWatcherLinux.cpp +++ b/src/uscxml/plugins/invoker/filesystem/dirmon/FileWatcher/FileWatcherLinux.cpp @@ -32,6 +32,7 @@ #include <stdio.h> #include <errno.h> #include <sys/inotify.h> +#include <unistd.h> #define BUFF_SIZE ((sizeof(struct inotify_event)+FILENAME_MAX)*1024) |