Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include.
Without the #include compilation fails. Originally committed as revision 12568 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									362b3bf757
								
							
						
					
					
						commit
						0e58bf670d
					
				| @ -39,9 +39,7 @@ | |||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
| #include <sys/ioctl.h> | #include <sys/ioctl.h> | ||||||
| #ifdef HAVE_SYS_MMAN_H |  | ||||||
| #include <sys/mman.h> | #include <sys/mman.h> | ||||||
| #endif |  | ||||||
| #include <sys/time.h> | #include <sys/time.h> | ||||||
| #include <signal.h> | #include <signal.h> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -24,9 +24,7 @@ | |||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
| #include <errno.h> | #include <errno.h> | ||||||
| #include <sys/ioctl.h> | #include <sys/ioctl.h> | ||||||
| #ifdef HAVE_SYS_MMAN_H |  | ||||||
| #include <sys/mman.h> | #include <sys/mman.h> | ||||||
| #endif |  | ||||||
| #include <sys/poll.h> | #include <sys/poll.h> | ||||||
| #include <sys/time.h> | #include <sys/time.h> | ||||||
| #include <time.h> | #include <time.h> | ||||||
|  | |||||||
| @ -25,9 +25,7 @@ | |||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
| #include <sys/ioctl.h> | #include <sys/ioctl.h> | ||||||
| #ifdef HAVE_SYS_MMAN_H |  | ||||||
| #include <sys/mman.h> | #include <sys/mman.h> | ||||||
| #endif |  | ||||||
| #include <sys/time.h> | #include <sys/time.h> | ||||||
| #define _LINUX_TIME_H 1 | #define _LINUX_TIME_H 1 | ||||||
| #include <linux/videodev.h> | #include <linux/videodev.h> | ||||||
|  | |||||||
| @ -32,9 +32,7 @@ | |||||||
| #include <unistd.h> | #include <unistd.h> | ||||||
| #include <fcntl.h> | #include <fcntl.h> | ||||||
| #include <sys/ioctl.h> | #include <sys/ioctl.h> | ||||||
| #ifdef HAVE_SYS_MMAN_H |  | ||||||
| #include <sys/mman.h> | #include <sys/mman.h> | ||||||
| #endif |  | ||||||
| #include <sys/time.h> | #include <sys/time.h> | ||||||
| #include <asm/types.h> | #include <asm/types.h> | ||||||
| #include <linux/videodev2.h> | #include <linux/videodev2.h> | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user