summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/zoneminder-1.25.0-gcc47.patch
blob: a083c6dbc48e0815e288cded3c8540b1a0a721dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
diff -up ./src/zm_local_camera.cpp.gcc47 ./src/zm_local_camera.cpp
--- ./src/zm_local_camera.cpp.gcc47	2011-06-21 04:19:10.000000000 -0500
+++ ./src/zm_local_camera.cpp	2012-01-19 13:43:49.142440717 -0600
@@ -26,6 +26,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#include <limits.h>
 #include <unistd.h>
 #include <sys/mman.h>
 #include <errno.h>
diff -up ./src/zm_logger.cpp.gcc47 ./src/zm_logger.cpp
--- ./src/zm_logger.cpp.gcc47	2011-06-28 06:07:35.000000000 -0500
+++ ./src/zm_logger.cpp	2012-01-19 13:43:49.142440717 -0600
@@ -33,6 +33,7 @@
 #include <signal.h>
 #include <stdarg.h>
 #include <errno.h>
+#include <unistd.h>
 
 bool Logger::smInitialised = false;
 Logger *Logger::smInstance = 0;
diff -up ./src/zm_thread.h.gcc47 ./src/zm_thread.h
--- ./src/zm_thread.h.gcc47	2012-01-19 13:44:43.082766722 -0600
+++ ./src/zm_thread.h	2012-01-19 13:44:56.966335869 -0600
@@ -21,6 +21,7 @@
 #define ZM_THREAD_H
 
 #include <pthread.h>
+#include <unistd.h>
 #include "zm_exception.h"
 #include "zm_utils.h"