diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-21 12:16:16 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-21 12:16:16 +0000 |
commit | b76c0e461a20c5665508f09c12f0b583f0608d10 (patch) | |
tree | 45487d9f834ea6008d4d9c74af6d0d3da7606256 /libaf/af_export.c | |
parent | 386e88d91824452d256ee37cf01026647dd6b6f8 (diff) | |
download | mpv-b76c0e461a20c5665508f09c12f0b583f0608d10.tar.bz2 mpv-b76c0e461a20c5665508f09c12f0b583f0608d10.tar.xz |
disable af export for systems without mmap
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10909 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af_export.c')
-rw-r--r-- | libaf/af_export.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libaf/af_export.c b/libaf/af_export.c index 9126384348..1c3e1c0d82 100644 --- a/libaf/af_export.c +++ b/libaf/af_export.c @@ -12,6 +12,9 @@ #include <string.h> #include <inttypes.h> #include <unistd.h> +#include "../config.h" + +#ifdef HAVE_SYS_MMAN_H #include <sys/types.h> #include <sys/mman.h> #include <sys/types.h> @@ -261,3 +264,5 @@ af_info_t af_info_export = { AF_FLAGS_REENTRANT, af_open }; + +#endif /*HAVE_SYS_MMAN_H*/ |