[vlc-commits] shm: missing #include

Rémi Denis-Courmont git at videolan.org
Mon Jan 7 19:54:04 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jan  1 12:07:50 2013 +0200| [2a1c53beecd6f3969461e0f60eba835438580f9e] | committer: Rémi Denis-Courmont

shm: missing #include

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a1c53beecd6f3969461e0f60eba835438580f9e
---

 modules/access/shm.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/access/shm.c b/modules/access/shm.c
index c511de5..99b64ae 100644
--- a/modules/access/shm.c
+++ b/modules/access/shm.c
@@ -27,6 +27,7 @@
 #include <stdarg.h>
 #include <math.h>
 #include <fcntl.h>
+#include <unistd.h>
 #ifdef HAVE_SYS_SHM_H
 # include <sys/ipc.h>
 # include <sys/shm.h>



More information about the vlc-commits mailing list