summaryrefslogtreecommitdiffstats
path: root/system/ZoneMinder/patches/zm_build_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/ZoneMinder/patches/zm_build_fix.patch')
-rw-r--r--system/ZoneMinder/patches/zm_build_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ZoneMinder/patches/zm_build_fix.patch b/system/ZoneMinder/patches/zm_build_fix.patch
new file mode 100644
index 0000000000..164a106893
--- /dev/null
+++ b/system/ZoneMinder/patches/zm_build_fix.patch
@@ -0,0 +1,11 @@
+diff -u -ru ZoneMinder-1.24.2-old//src/zm_utils.cpp ZoneMinder-1.24.2/src/zm_utils.cpp
+--- ZoneMinder-1.24.2-old//src/zm_utils.cpp 2010-06-03 01:34:27.981235559 +0300
++++ ZoneMinder-1.24.2/src/zm_utils.cpp 2010-06-03 01:44:52.108291327 +0300
+@@ -20,6 +20,7 @@
+ //#include "zm_debug.h"
+ #include "zm_utils.h"
+
++#include <cstdio>
+ #include <stdarg.h>
+
+ const std::string stringtf( const char *format, ... )