comparison libmpeg2/decode.c @ 2775:8e3875816f6d

added missing #include <malloc.h> #include "config.h" moved as 1st #include since it defines HAVE_foo_h for later conditional inclusions
author pl
date Fri, 09 Nov 2001 02:17:02 +0000
parents b3624c70aba2
children 5da6e1b6c93e
comparison
equal deleted inserted replaced
2774:039568c6947d 2775:8e3875816f6d
3 3
4 /* mpeg2dec version: */ 4 /* mpeg2dec version: */
5 #define PACKAGE "mpeg2dec" 5 #define PACKAGE "mpeg2dec"
6 #define VERSION "0.2.0-release" 6 #define VERSION "0.2.0-release"
7 7
8 #include "config.h"
9
8 #include <stdio.h> 10 #include <stdio.h>
11 #ifdef HAVE_MALLOC_H
12 #include <malloc.h>
13 #endif
9 #include <stdlib.h> 14 #include <stdlib.h>
10 #include <unistd.h> 15 #include <unistd.h>
11 #include <fcntl.h> 16 #include <fcntl.h>
12 #include <errno.h> 17 #include <errno.h>
13 18
14 #include <signal.h> 19 #include <signal.h>
15 #include <setjmp.h> 20 #include <setjmp.h>
16 21
17 22
18 #include "config.h"
19 23
20 #include "video_out.h" 24 #include "video_out.h"
21 #include <inttypes.h> 25 #include <inttypes.h>
22 26
23 #include "mpeg2.h" 27 #include "mpeg2.h"