sl@0
|
1 |
// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// This dummy .cpp file only includes all header files exported by stdlib to
|
sl@0
|
15 |
// test the compilation error/warnings on various platforms.
|
sl@0
|
16 |
//
|
sl@0
|
17 |
//
|
sl@0
|
18 |
|
sl@0
|
19 |
// STDLIB exported header files
|
sl@0
|
20 |
#include <estlib.h>
|
sl@0
|
21 |
#include <estw32.h>
|
sl@0
|
22 |
#include <redircli.h>
|
sl@0
|
23 |
#include <redirstr.h>
|
sl@0
|
24 |
|
sl@0
|
25 |
#include <assert.h>
|
sl@0
|
26 |
#include <ctype.h>
|
sl@0
|
27 |
#include <dirent.h>
|
sl@0
|
28 |
#include <errno.h>
|
sl@0
|
29 |
#include <fcntl.h>
|
sl@0
|
30 |
#include <limits.h>
|
sl@0
|
31 |
#include <locale.h>
|
sl@0
|
32 |
// Including order of 'math.h' and 'ieeefp.h' here need to be considered.
|
sl@0
|
33 |
// 'math.h' has to be prior to 'ieeefp.h' here to keep the C linkage of a set
|
sl@0
|
34 |
// of functions which were only specified in 'math.h' but declared in both
|
sl@0
|
35 |
// files. Otherwise, errors of incompatibility of linkage specification will be
|
sl@0
|
36 |
// generated. Or if C compiler is used, there will be no error at all.
|
sl@0
|
37 |
#include <math.h>
|
sl@0
|
38 |
#include <ieeefp.h>
|
sl@0
|
39 |
|
sl@0
|
40 |
#include <netdb.h>
|
sl@0
|
41 |
#include <netdb_r.h>
|
sl@0
|
42 |
#include <process.h>
|
sl@0
|
43 |
#include <pwd.h>
|
sl@0
|
44 |
#include <reent.h>
|
sl@0
|
45 |
#include <setjmp.h>
|
sl@0
|
46 |
#include <signal.h>
|
sl@0
|
47 |
#include <stdarg.h>
|
sl@0
|
48 |
#include <stdarg_e.h>
|
sl@0
|
49 |
#include <stddef.h>
|
sl@0
|
50 |
#include <stdio.h>
|
sl@0
|
51 |
#include <stdio_r.h>
|
sl@0
|
52 |
#include <stdlib.h>
|
sl@0
|
53 |
#include <stdlib_r.h>
|
sl@0
|
54 |
#include <string.h>
|
sl@0
|
55 |
#include <time.h>
|
sl@0
|
56 |
#include <unistd.h>
|
sl@0
|
57 |
#include <_ansi.h>
|
sl@0
|
58 |
|
sl@0
|
59 |
#include <sys/config.h>
|
sl@0
|
60 |
#include <sys/dirent.h>
|
sl@0
|
61 |
#include <sys/errno.h>
|
sl@0
|
62 |
#include <sys/fcntl.h>
|
sl@0
|
63 |
#include <sys/file.h>
|
sl@0
|
64 |
#include <sys/ioctl.h>
|
sl@0
|
65 |
#include <sys/param.h>
|
sl@0
|
66 |
#include <sys/reent.h>
|
sl@0
|
67 |
#include <sys/resource.h>
|
sl@0
|
68 |
#include <sys/signal.h>
|
sl@0
|
69 |
#include <sys/socket.h>
|
sl@0
|
70 |
#include <sys/stat.h>
|
sl@0
|
71 |
#include <sys/stdio_t.h>
|
sl@0
|
72 |
#include <sys/time.h>
|
sl@0
|
73 |
#include <sys/times.h>
|
sl@0
|
74 |
#include <sys/types.h>
|
sl@0
|
75 |
#include <sys/unistd.h>
|
sl@0
|
76 |
#include <sys/wait.h>
|
sl@0
|
77 |
#include <sys/_types.h>
|
sl@0
|
78 |
#include <sys/serial.h>
|
sl@0
|
79 |
|
sl@0
|
80 |
#include <libc/machine/ieeefp.h>
|
sl@0
|
81 |
#include <libc/machine/types.h>
|
sl@0
|
82 |
|
sl@0
|
83 |
// 'net_types.h' provides missing type definitions required by other header files in
|
sl@0
|
84 |
// 'netinet' directory
|
sl@0
|
85 |
#include <libc/netinet/net_types.h>
|
sl@0
|
86 |
#include <libc/netinet/arp.h>
|
sl@0
|
87 |
#include <libc/netinet/in.h>
|
sl@0
|
88 |
// A workaround to remove redefinition warning message on TCP_NODELAY when
|
sl@0
|
89 |
// both 'in.h' and 'tcp.h' were included
|
sl@0
|
90 |
#undef TCP_NODELAY
|
sl@0
|
91 |
#include <libc/netinet/ip.h>
|
sl@0
|
92 |
#include <libc/netinet/ip_icmp.h>
|
sl@0
|
93 |
#include <libc/netinet/tcp.h>
|
sl@0
|
94 |
#include <libc/netinet/tcp_fsm.h>
|
sl@0
|
95 |
#include <libc/netinet/tcp_seq.h>
|
sl@0
|
96 |
#include <libc/netinet/udp.h>
|
sl@0
|
97 |
|
sl@0
|
98 |
#include <libc/arpa/ftp.h>
|
sl@0
|
99 |
// A workaround to remove redefinition warning message on ERROR when both
|
sl@0
|
100 |
// 'ftp.h' and 'tftp.h' were included
|
sl@0
|
101 |
#undef ERROR
|
sl@0
|
102 |
#include <libc/arpa/inet.h>
|
sl@0
|
103 |
#include <libc/arpa/nameser.h>
|
sl@0
|
104 |
#include <libc/arpa/telnet.h>
|
sl@0
|
105 |
#include <libc/arpa/tftp.h>
|
sl@0
|
106 |
|