Mercurial > mplayer.hg
comparison loader/ldt_keeper.c @ 26105:c99d53b76ee5
Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
author | diego |
---|---|
date | Sat, 01 Mar 2008 10:31:51 +0000 |
parents | d9b11d83367f |
children | eb82d1524b6d |
comparison
equal
deleted
inserted
replaced
26104:e5bce92eb572 | 26105:c99d53b76ee5 |
---|---|
15 /* | 15 /* |
16 * Modified for use with MPlayer, detailed changelog at | 16 * Modified for use with MPlayer, detailed changelog at |
17 * http://svn.mplayerhq.hu/mplayer/trunk/ | 17 * http://svn.mplayerhq.hu/mplayer/trunk/ |
18 */ | 18 */ |
19 | 19 |
20 #include "config.h" | |
20 #include "ldt_keeper.h" | 21 #include "ldt_keeper.h" |
21 | 22 |
22 #include <string.h> | 23 #include <string.h> |
23 #include <stdlib.h> | 24 #include <stdlib.h> |
24 #include <errno.h> | 25 #include <errno.h> |
25 #include <fcntl.h> | 26 #include <fcntl.h> |
27 #ifdef HAVE_SYS_MMAN_H | |
26 #include <sys/mman.h> | 28 #include <sys/mman.h> |
29 #endif | |
27 #include <sys/types.h> | 30 #include <sys/types.h> |
28 #include <stdio.h> | 31 #include <stdio.h> |
29 #include <unistd.h> | 32 #include <unistd.h> |
30 #include "osdep/mmap_anon.h" | 33 #include "osdep/mmap_anon.h" |
31 #include "mp_msg.h" | 34 #include "mp_msg.h" |