blob: 8a5e689b84fbafba0f7e083bdcff6dae3fcf469a (
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
|
/*
* Do all necessary includes here, so that we don't have to worry about
* overlapping includes in the files in missing.d.
*/
#include "config.h"
#include "awk.h"
#ifdef atarist
/*
* this will work with gcc compiler - for other compilers you may
* have to replace path separators in this file into backslashes
*/
#include "unsupported/atari/stack.c"
#include "unsupported/atari/tmpnam.c"
#endif /* atarist */
#ifndef HAVE_SYSTEM
#ifdef atarist
#include "unsupported/atari/system.c"
#else
#include "missing_d/system.c"
#endif
#endif /* HAVE_SYSTEM */
#ifndef HAVE_MEMCMP
#include "missing_d/memcmp.c"
#endif /* HAVE_MEMCMP */
#ifndef HAVE_MEMCPY
#include "missing_d/memcpy.c"
#endif /* HAVE_MEMCPY */
#ifndef HAVE_MEMSET
#include "missing_d/memset.c"
#endif /* HAVE_MEMSET */
#ifndef HAVE_MEMMOVE
#include "missing_d/memmove.c"
#endif /* HAVE_MEMMOVE */
#ifndef HAVE_STRNCASECMP
#include "missing_d/strncasecmp.c"
#endif /* HAVE_STRCASE */
#ifndef HAVE_STRERROR
#include "missing_d/strerror.c"
#endif /* HAVE_STRERROR */
#ifndef HAVE_STRFTIME
#include "missing_d/strftime.c"
#endif /* HAVE_STRFTIME */
#ifndef HAVE_STRCHR
#include "missing_d/strchr.c"
#endif /* HAVE_STRCHR */
#if !defined(HAVE_STRTOD)
#include "missing_d/strtod.c"
#endif /* HAVE_STRTOD */
#ifndef HAVE_STRTOUL
#include "missing_d/strtoul.c"
#endif /* HAVE_STRTOUL */
#ifndef HAVE_TZSET
#include "missing_d/tzset.c"
#endif /* HAVE_TZSET */
#if defined TANDEM
#include "strdupc"
#include "getidc"
#include "strnchkc"
#endif /* TANDEM */
#ifndef HAVE_MKTIME
/* mktime.c defines main() if DEBUG is set */
#undef DEBUG
#include "missing_d/mktime.c"
#endif /* HAVE_MKTIME */
#ifndef HAVE_SNPRINTF
#include "missing_d/snprintf.c"
#endif
#if defined(HAVE_SOCKETS) && ! defined(HAVE_GETADDRINFO)
#include "missing_d/getaddrinfo.c"
#endif
|