Revision b0067549

View differences:

libavdevice/audio.c
31 31
#include <unistd.h>
32 32
#include <fcntl.h>
33 33
#include <sys/ioctl.h>
34
#ifdef HAVE_SYS_MMAN_H
34 35
#include <sys/mman.h>
36
#endif
35 37
#include <sys/time.h>
36 38

  
37 39
#define AUDIO_BLOCK_SIZE 4096
libavdevice/bktr.c
39 39
#include <unistd.h>
40 40
#include <fcntl.h>
41 41
#include <sys/ioctl.h>
42
#ifdef HAVE_SYS_MMAN_H
42 43
#include <sys/mman.h>
44
#endif
43 45
#include <sys/time.h>
44 46
#include <signal.h>
45 47

  
libavdevice/dv1394.c
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21 21

  
22
#include "config.h"
22 23
#include <unistd.h>
23 24
#include <fcntl.h>
24 25
#include <errno.h>
25 26
#include <sys/ioctl.h>
27
#ifdef HAVE_SYS_MMAN_H
26 28
#include <sys/mman.h>
29
#endif
27 30
#include <sys/poll.h>
28 31
#include <sys/time.h>
29 32
#include <time.h>
libavdevice/v4l.c
18 18
 * License along with FFmpeg; if not, write to the Free Software
19 19
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 20
 */
21

  
22
#include "config.h"
21 23
#include "avformat.h"
22 24
#include "dsputil.h"
23 25
#include <unistd.h>
24 26
#include <fcntl.h>
25 27
#include <sys/ioctl.h>
28
#ifdef HAVE_SYS_MMAN_H
26 29
#include <sys/mman.h>
30
#endif
27 31
#include <sys/time.h>
28 32
#define _LINUX_TIME_H 1
29 33
#include <linux/videodev.h>
libavdevice/v4l2.c
26 26
 * License along with FFmpeg; if not, write to the Free Software
27 27
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
28 28
 */
29

  
30
#include "config.h"
29 31
#include "avformat.h"
30 32
#include <unistd.h>
31 33
#include <fcntl.h>
32 34
#include <sys/ioctl.h>
35
#ifdef HAVE_SYS_MMAN_H
33 36
#include <sys/mman.h>
37
#endif
34 38
#include <sys/time.h>
35 39
#include <asm/types.h>
36 40
#include <linux/videodev2.h>
libavdevice/x11grab.c
35 35
 * and Edouard Gomez <ed.gomez@free.fr>.
36 36
 */
37 37

  
38
#include "config.h"
38 39
#include "avformat.h"
39 40
#include <unistd.h>
40 41
#include <fcntl.h>
41 42
#include <sys/ioctl.h>
43
#ifdef HAVE_SYS_MMAN_H
42 44
#include <sys/mman.h>
45
#endif
43 46
#include <sys/time.h>
44 47
#define _LINUX_TIME_H 1
45 48
#include <time.h>

Also available in: Unified diff