blob: 39c620fcc278b6de0a05b62a7dbb0d0ed54f39d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
/*
* Do all necessary includes here, so that we don't have to worry about
* overlapping includes in the files in missing.d.
*/
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#if !defined(VMS) || (!defined(VAXC) && !defined(__DECC))
#include <fcntl.h>
#include <sys/types.h>
#else /*VMS w/ VAXC or DECC*/
#include <file.h>
#include <types.h>
#endif
#include <varargs.h>
#include "config.h"
#ifndef __STDC__
#define const
#endif /* !__STDC__ */
#ifdef STDC_HEADERS
#include <string.h>
#endif
#ifdef TZSET_MISSING
#include <sys/time.h>
#else
#include <time.h>
#endif
#ifdef atarist
/*
* this will work with gcc compiler - for other compilers you may
* have to replace path separators in this file into backslashes
*/
#include "atari/stack.c"
#include "atari/tmpnam.c"
/* #include "atari/textrd.c" */ /* current libraries are correct bug fix */
#endif /* atarist */
#ifdef SYSTEM_MISSING
#ifdef atarist
#include "atari/system.c"
#else
#include "missing/system.c"
#endif
#endif /* SYSTEM_MISSING */
#ifdef MEMCMP_MISSING
#include "missing/memcmp.c"
#endif /* MEMCMP_MISSING */
#ifdef MEMCPY_MISSING
#include "missing/memcpy.c"
#endif /* MEMCPY_MISSING */
#ifdef MEMSET_MISSING
#include "missing/memset.c"
#endif /* MEMSET_MISSING */
#ifdef RANDOM_MISSING
#include "missing/random.c"
#endif /* RANDOM_MISSING */
#ifdef STRCASE_MISSING
#include "missing/strncasecmp.c"
#endif /* STRCASE_MISSING */
#ifdef STRERROR_MISSING
#include "missing/strerror.c"
#endif /* STRERROR_MISSING */
#ifdef STRFTIME_MISSING
#include "missing/strftime.c"
#endif /* STRFTIME_MISSING */
#ifdef STRCHR_MISSING
#include "missing/strchr.c"
#endif /* STRCHR_MISSING */
#ifdef STRTOD_MISSING
#include "missing/strtod.c"
#endif /* STRTOD_MISSING */
#ifdef TZSET_MISSING
#include "missing/tzset.c"
#endif /* TZSET_MISSING */
|