comparison src/dgif_lib.c @ 16:0293115a14e9 r19-15b91

Import from CVS: tag r19-15b91
author cvs
date Mon, 13 Aug 2007 08:49:20 +0200
parents 376386a54a3c
children c53a95d3c46d
comparison
equal deleted inserted replaced
15:ad457d5f7d04 16:0293115a14e9
9 ******************************************************************************* 9 *******************************************************************************
10 * History: * 10 * History: *
11 * 16 Jun 89 - Version 1.0 by Gershon Elber. * 11 * 16 Jun 89 - Version 1.0 by Gershon Elber. *
12 * 3 Sep 90 - Version 1.1 by Gershon Elber (Support for Gif89, Unique names). * 12 * 3 Sep 90 - Version 1.1 by Gershon Elber (Support for Gif89, Unique names). *
13 ******************************************************************************/ 13 ******************************************************************************/
14
15 #ifdef __MSDOS__
16 #include <io.h>
17 #include <alloc.h>
18 #include <stdlib.h>
19 #include <sys\stat.h>
20 #else
21 #include <sys/types.h>
22 #include <sys/stat.h>
23 #endif /* __MSDOS__ */
24
25 #include <fcntl.h>
26 #include <stdio.h>
27 #include <string.h>
28 14
29 #ifdef emacs 15 #ifdef emacs
30 #include <config.h> 16 #include <config.h>
31 void *xmalloc (unsigned int size); 17 void *xmalloc (unsigned int size);
32 void *xrealloc (void *ptr, unsigned int size); 18 void *xrealloc (void *ptr, unsigned int size);
34 void *xfree_1 (void *); 20 void *xfree_1 (void *);
35 #define xfree xfree_1 21 #define xfree xfree_1
36 #else 22 #else
37 void *xfree (void *); 23 void *xfree (void *);
38 #endif 24 #endif
39 #endif 25 #endif /* emacs */
26
27 #ifdef __MSDOS__
28 #include <io.h>
29 #include <alloc.h>
30 #include <stdlib.h>
31 #include <sys\stat.h>
32 #else
33 #include <sys/types.h>
34 #include <sys/stat.h>
35 #endif /* __MSDOS__ */
36
37 #include <fcntl.h>
38 #include <stdio.h>
39 #include <string.h>
40 40
41 #include "gif_lib.h" 41 #include "gif_lib.h"
42 #ifndef emacs 42 #ifndef emacs
43 #include "gif_hash.h" 43 #include "gif_hash.h"
44 #endif 44 #endif