source: tests/include/includes.cfa @ 6f9f338

Last change on this file since 6f9f338 was 8b639f9, checked in by Peter A. Buhr <pabuhr@…>, 6 days ago

make including gawkapi.h conditional on its existence

  • Property mode set to 100644
File size: 4.2 KB
Line 
1//
2// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
3//
4// The contents of this file are covered under the licence agreement in the
5// file "LICENCE" distributed with Cforall.
6//
7// includes.cfa --
8//
9// Author           : Peter A. Buhr
10// Created On       : Wed May 27 17:56:53 2015
11// Last Modified By : Peter A. Buhr
12// Last Modified On : Thu Mar 13 11:56:08 2025
13// Update Count     : 831
14//
15
16#ifdef __CFA__
17extern "C" {
18#endif // __CFA__
19
20#if 1
21//#define _GNU_SOURCE
22#include <aio.h>
23#include <aliases.h>
24#include <alloca.h>
25#include <ar.h>
26#include <argp.h>
27#include <argz.h>
28#include <assert.h>
29#include <byteswap.h>
30#include <complex.h>
31#include <cpio.h>
32#include <crypt.h>
33#include <ctype.h>
34#if __has_include( "curses.h" )
35#include <curses.h>                                                                             // may not be installed
36#endif
37#include <dirent.h>
38#include <dlfcn.h>
39#include <elf.h>
40#include <endian.h>
41#include <envz.h>
42#include <err.h>
43#include <errno.h>
44#include <error.h>
45#if __has_include( "eti.h" )
46#include <eti.h>                                                                                // may not be installed, comes with ncurses
47#endif
48#include <execinfo.h>
49#if __has_include( "expat.h" )
50#include <expat.h>                                                                              // may not be installed
51#include <expat_external.h>
52#endif
53#include <fcntl.h>
54#include <features.h>
55#include <fenv.h>
56#include <fmtmsg.h>
57#include <fnmatch.h>
58#if __has_include( "form.h" )
59#include <form.h>                                                                               // may not be installed, comes with ncurses
60#endif
61#include <fstab.h>
62#include <fts.h>
63#include <ftw.h>
64#include <sys/types.h>
65#include <gconv.h>
66#include <getopt.h>
67#include <glob.h>
68#include <gnumake.h>
69#include <gnu-versions.h>
70#include <grp.h>
71#include <gshadow.h>
72#include <iconv.h>
73#include <ifaddrs.h>
74#include <inttypes.h>
75#include <langinfo.h>
76#include <lastlog.h>
77#include <libgen.h>
78#include <libintl.h>
79#include <limits.h>
80#include <link.h>
81#include <locale.h>
82#if __has_include( "ltdl.h" )
83#include <ltdl.h>                                                                               // may not be installed
84#endif
85//#include <malloc.h>                                                                   // cannot include in extern "C" because of CFA #include_next
86#include <math.h>
87#include <mcheck.h>
88#include <memory.h>
89#if __has_include( "menu.h" )
90#include <menu.h>                                                                               // may not be installed, comes with ncurses
91#endif
92#include <mntent.h>
93#include <monetary.h>
94#include <mqueue.h>
95#if __has_include( "ncurses_dll.h" )
96#include <ncurses_dll.h>                                                                // may not be installed, comes with ncurses
97#endif
98#include <netdb.h>
99#include <nl_types.h>
100#include <nss.h>
101#include <obstack.h>
102#if __has_include( "panel.h" )
103#include <panel.h>                                                                              // may not be installed, comes with ncurses
104#endif
105#include <paths.h>
106#include <poll.h>
107#include <printf.h>
108#include <pthread.h>
109#include <pty.h>
110#include <pwd.h>
111#include <regex.h>
112#include <resolv.h>
113#include <re_comp.h>
114#include <sched.h>
115#include <search.h>
116#include <semaphore.h>
117#include <setjmp.h>
118#include <sgtty.h>
119#include <shadow.h>
120#include <signal.h>
121#include <spawn.h>
122#include <stab.h>
123#include <stdc-predef.h>
124#include <stdint.h>
125#include <stdio.h>
126#if __has_include( "gawkapi.h" )
127#include <gawkapi.h>                                                                    // requires stdio.h, so appears after it
128#endif
129#include <stdio_ext.h>
130#include <stdlib.h>
131#include <string.h>
132#include <strings.h>
133#include <sudo_plugin.h>
134#include <syscall.h>
135#include <sysexits.h>
136#include <syslog.h>
137#include <tar.h>
138#if __has_include( "term.h" )
139#include <term.h>                                                                               // may not be installed, comes with ncurses
140#include <termcap.h>                                                                    // may not be installed, comes with ncurses
141#endif
142#include <termio.h>
143#include <termios.h>
144#include <term_entry.h>
145#include <tgmath.h>
146#include <threads.h>                                                                    // does not exist
147#include <thread_db.h>
148#include <time.h>
149#include <ttyent.h>
150#include <uchar.h>
151#include <ucontext.h>
152#include <ulimit.h>
153#if __has_include( "unctrl.h" )
154#include <unctrl.h>                                                                             // may not be installed, comes with ncurses
155#endif
156#include <unistd.h>
157#include <utime.h>
158#include <utmp.h>
159#include <utmpx.h>
160#include <values.h>
161#pragma GCC diagnostic push
162#pragma GCC diagnostic ignored "-Wattributes"
163#include <wait.h>
164#pragma GCC diagnostic pop
165#include <wchar.h>
166#include <wctype.h>
167#include <wordexp.h>
168#endif // 0
169
170#ifdef __CFA__
171} // extern "C"
172#endif // __CFA__
173
174int main() {
175    printf("done\n");
176}
177
178// Local Variables: //
179// tab-width: 4 //
180// compile-command: "cfa includes.cfa" //
181// End: //
Note: See TracBrowser for help on using the repository browser.