[vlc-devel] [PATCH] shm: fix compilation on OS/2

KO Myung-Hun komh78 at gmail.com
Tue Jan 1 10:26:43 CET 2013


---
 modules/access/shm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/access/shm.c b/modules/access/shm.c
index c511de5..b2f014f 100644
--- a/modules/access/shm.c
+++ b/modules/access/shm.c
@@ -31,6 +31,9 @@
 # include <sys/ipc.h>
 # include <sys/shm.h>
 #endif
+#ifdef __OS2__
+# include <io.h>    // close()
+#endif
 
 #include <vlc_common.h>
 #include <vlc_demux.h>
-- 
1.7.3.2




More information about the vlc-devel mailing list