Mercurial > mplayer.hg
comparison osdep/mmap_anon.c @ 30554:321e9ea69b9f
#include corresponding .h files in .c files.
This ensures that function declarations in both files always match.
author | diego |
---|---|
date | Tue, 16 Feb 2010 15:03:03 +0000 |
parents | 0f1b5b68af32 |
children | 08a90b0e44e1 |
comparison
equal
deleted
inserted
replaced
30553:b2829d4f2de4 | 30554:321e9ea69b9f |
---|---|
24 | 24 |
25 #include <stdio.h> | 25 #include <stdio.h> |
26 #include <unistd.h> | 26 #include <unistd.h> |
27 #include <fcntl.h> | 27 #include <fcntl.h> |
28 #include <sys/mman.h> | 28 #include <sys/mman.h> |
29 | |
30 #include "mmap_anon.h" | |
29 | 31 |
30 #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) | 32 #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) |
31 #define MAP_ANONYMOUS MAP_ANON | 33 #define MAP_ANONYMOUS MAP_ANON |
32 #endif | 34 #endif |
33 | 35 |