[MPlayer-cvslog] r26143 - in trunk/loader: ext.c ldt_keeper.c pe_image.c win32.c

diego subversion at mplayerhq.hu
Mon Mar 3 10:47:01 CET 2008


Author: diego
Date: Mon Mar  3 10:47:01 2008
New Revision: 26143

Log:
#include osdep/mman.h if sys/mman.h is not available.
patch by KO Myung-Hun, komh chollian net


Modified:
   trunk/loader/ext.c
   trunk/loader/ldt_keeper.c
   trunk/loader/pe_image.c
   trunk/loader/win32.c

Modified: trunk/loader/ext.c
==============================================================================
--- trunk/loader/ext.c	(original)
+++ trunk/loader/ext.c	Mon Mar  3 10:47:01 2008
@@ -20,6 +20,8 @@
 #include <unistd.h>
 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
+#else
+#include "osdep/mmap.h"
 #endif
 #include <errno.h>
 #include <fcntl.h>

Modified: trunk/loader/ldt_keeper.c
==============================================================================
--- trunk/loader/ldt_keeper.c	(original)
+++ trunk/loader/ldt_keeper.c	Mon Mar  3 10:47:01 2008
@@ -26,6 +26,8 @@
 #include <fcntl.h>
 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
+#else
+#include "osdep/mmap.h"
 #endif
 #include <sys/types.h>
 #include <stdio.h>

Modified: trunk/loader/pe_image.c
==============================================================================
--- trunk/loader/pe_image.c	(original)
+++ trunk/loader/pe_image.c	Mon Mar  3 10:47:01 2008
@@ -51,6 +51,8 @@
 #include <fcntl.h>
 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
+#else
+#include "osdep/mmap.h"
 #endif
 #include "wine/windef.h"
 #include "wine/winbase.h"

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	(original)
+++ trunk/loader/win32.c	Mon Mar  3 10:47:01 2008
@@ -70,6 +70,8 @@ for DLL to know too much about its envir
 
 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
+#else
+#include "osdep/mmap.h"
 #endif
 #include "osdep/mmap_anon.h"
 



More information about the MPlayer-cvslog mailing list