aboutsummaryrefslogtreecommitdiff
path: root/multimedia/zoneminder/files/patch-src_zm_monitor.cpp
blob: c79a4eececa422802eb64849fb15f1c14ec6ca9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- src/zm_monitor.cpp.orig	2011-03-02 15:23:10.000000000 +0300
+++ src/zm_monitor.cpp	2011-05-05 18:31:35.028176099 +0400
@@ -45,6 +45,7 @@
 #include <sys/mman.h>
 #include <fcntl.h>
 #else // ZM_MEM_MAPPED
+#include <unistd.h>
 #include <sys/ipc.h>
 #include <sys/shm.h>
 #endif // ZM_MEM_MAPPED