From e0f1aa4a109dfaa680f5b82ae313f0059919d568 Mon Sep 17 00:00:00 2001 From: Asaf Ohaion Date: Sun, 3 Jul 2011 13:55:45 -0400 Subject: system/incron: Added (inotify cron system) Signed-off-by: dsomero --- system/incron/fix-compiliation.diff | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 system/incron/fix-compiliation.diff (limited to 'system/incron/fix-compiliation.diff') diff --git a/system/incron/fix-compiliation.diff b/system/incron/fix-compiliation.diff new file mode 100644 index 0000000000..2acfdeffe1 --- /dev/null +++ b/system/incron/fix-compiliation.diff @@ -0,0 +1,57 @@ +diff -uNr incron-0.5.9/appargs.cpp incron-0.5.9_patched/appargs.cpp +--- incron-0.5.9/appargs.cpp 2009-06-21 23:27:24.000000000 +0300 ++++ incron-0.5.9_patched/appargs.cpp 2011-04-06 15:35:32.565888675 +0300 +@@ -22,6 +22,8 @@ + + #include + ++#include ++ + #include "strtok.h" + + #include "appargs.h" +diff -uNr incron-0.5.9/icd-main.cpp incron-0.5.9_patched/icd-main.cpp +--- incron-0.5.9/icd-main.cpp 2009-06-21 23:27:24.000000000 +0300 ++++ incron-0.5.9_patched/icd-main.cpp 2011-04-06 15:32:20.007891134 +0300 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + + #include "inotify-cxx.h" +diff -uNr incron-0.5.9/incroncfg.cpp incron-0.5.9_patched/incroncfg.cpp +--- incron-0.5.9/incroncfg.cpp 2009-06-21 23:27:24.000000000 +0300 ++++ incron-0.5.9_patched/incroncfg.cpp 2011-04-06 15:35:04.422890150 +0300 +@@ -181,7 +181,7 @@ + + bool IncronCfg::IsComment(const char* s) + { +- char* sx = strchr(s, '#'); ++ const char* sx = strchr(s, '#'); + if (sx == NULL) + return false; + +diff -uNr incron-0.5.9/inotify-cxx.cpp incron-0.5.9_patched/inotify-cxx.cpp +--- incron-0.5.9/inotify-cxx.cpp 2009-06-21 23:27:24.000000000 +0300 ++++ incron-0.5.9_patched/inotify-cxx.cpp 2011-04-06 15:32:39.878890586 +0300 +@@ -22,6 +22,7 @@ + + #include + #include ++#include + #include + + #include "inotify-cxx.h" +diff -uNr incron-0.5.9/usertable.cpp incron-0.5.9_patched/usertable.cpp +--- incron-0.5.9/usertable.cpp 2009-06-21 23:27:24.000000000 +0300 ++++ incron-0.5.9_patched/usertable.cpp 2011-04-06 15:33:09.499888673 +0300 +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + #include + #include + -- cgit v1.2.3