Update contrib.
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // This dummy .cpp file only includes all header files exported by stdlib to
15 // test the compilation error/warnings on various platforms.
19 // STDLIB exported header files
32 // Including order of 'math.h' and 'ieeefp.h' here need to be considered.
33 // 'math.h' has to be prior to 'ieeefp.h' here to keep the C linkage of a set
34 // of functions which were only specified in 'math.h' but declared in both
35 // files. Otherwise, errors of incompatibility of linkage specification will be
36 // generated. Or if C compiler is used, there will be no error at all.
59 #include <sys/config.h>
60 #include <sys/dirent.h>
61 #include <sys/errno.h>
62 #include <sys/fcntl.h>
64 #include <sys/ioctl.h>
65 #include <sys/param.h>
66 #include <sys/reent.h>
67 #include <sys/resource.h>
68 #include <sys/signal.h>
69 #include <sys/socket.h>
71 #include <sys/stdio_t.h>
73 #include <sys/times.h>
74 #include <sys/types.h>
75 #include <sys/unistd.h>
77 #include <sys/_types.h>
78 #include <sys/serial.h>
80 #include <libc/machine/ieeefp.h>
81 #include <libc/machine/types.h>
83 // 'net_types.h' provides missing type definitions required by other header files in
84 // 'netinet' directory
85 #include <libc/netinet/net_types.h>
86 #include <libc/netinet/arp.h>
87 #include <libc/netinet/in.h>
88 // A workaround to remove redefinition warning message on TCP_NODELAY when
89 // both 'in.h' and 'tcp.h' were included
91 #include <libc/netinet/ip.h>
92 #include <libc/netinet/ip_icmp.h>
93 #include <libc/netinet/tcp.h>
94 #include <libc/netinet/tcp_fsm.h>
95 #include <libc/netinet/tcp_seq.h>
96 #include <libc/netinet/udp.h>
98 #include <libc/arpa/ftp.h>
99 // A workaround to remove redefinition warning message on ERROR when both
100 // 'ftp.h' and 'tftp.h' were included
102 #include <libc/arpa/inet.h>
103 #include <libc/arpa/nameser.h>
104 #include <libc/arpa/telnet.h>
105 #include <libc/arpa/tftp.h>