| [097d3e1] | 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 | //
 | 
|---|
| [36fbaeca] | 7 | // includes.cfa --
 | 
|---|
| [097d3e1] | 8 | //
 | 
|---|
 | 9 | // Author           : Peter A. Buhr
 | 
|---|
 | 10 | // Created On       : Wed May 27 17:56:53 2015
 | 
|---|
 | 11 | // Last Modified By : Peter A. Buhr
 | 
|---|
| [f2a1cd2] | 12 | // Last Modified On : Wed Feb 22 10:16:58 2023
 | 
|---|
 | 13 | // Update Count     : 811
 | 
|---|
| [097d3e1] | 14 | //
 | 
|---|
 | 15 | 
 | 
|---|
 | 16 | #ifdef __CFA__
 | 
|---|
 | 17 | extern "C" {
 | 
|---|
 | 18 | #endif // __CFA__
 | 
|---|
 | 19 | 
 | 
|---|
| [c14d91a] | 20 | #if 1
 | 
|---|
| [097d3e1] | 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>
 | 
|---|
| [e6bb667] | 34 | #if __has_include( "curses.h" )
 | 
|---|
 | 35 | #include <curses.h>                                                                             // may not be installed
 | 
|---|
 | 36 | #endif
 | 
|---|
| [097d3e1] | 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>
 | 
|---|
| [e6bb667] | 45 | #if __has_include( "eti.h" )
 | 
|---|
 | 46 | #include <eti.h>                                                                                // may not be installed, comes with ncurses
 | 
|---|
 | 47 | #endif
 | 
|---|
| [097d3e1] | 48 | #include <execinfo.h>
 | 
|---|
| [598dc68] | 49 | #if __has_include( "expat.h" )
 | 
|---|
 | 50 | #include <expat.h>                                                                              // may not be installed
 | 
|---|
| [097d3e1] | 51 | #include <expat_external.h>
 | 
|---|
| [598dc68] | 52 | #endif
 | 
|---|
| [097d3e1] | 53 | #include <fcntl.h>
 | 
|---|
 | 54 | #include <features.h>
 | 
|---|
 | 55 | #include <fenv.h>
 | 
|---|
 | 56 | #include <fmtmsg.h>
 | 
|---|
 | 57 | #include <fnmatch.h>
 | 
|---|
| [e6bb667] | 58 | #if __has_include( "form.h" )
 | 
|---|
 | 59 | #include <form.h>                                                                               // may not be installed, comes with ncurses
 | 
|---|
 | 60 | #endif
 | 
|---|
| [097d3e1] | 61 | #include <fstab.h>
 | 
|---|
 | 62 | #include <fts.h>
 | 
|---|
 | 63 | #include <ftw.h>
 | 
|---|
 | 64 | #include <sys/types.h>
 | 
|---|
 | 65 | //#include <gawkapi.h>                                                                  // CFA bug #240 nested anonymous enum fails
 | 
|---|
 | 66 | #include <gconv.h>
 | 
|---|
 | 67 | #include <getopt.h>
 | 
|---|
 | 68 | #include <glob.h>
 | 
|---|
 | 69 | #include <gnumake.h>
 | 
|---|
 | 70 | #include <gnu-versions.h>
 | 
|---|
 | 71 | #include <grp.h>
 | 
|---|
 | 72 | #include <gshadow.h>
 | 
|---|
 | 73 | #include <iconv.h>
 | 
|---|
| [40747247] | 74 | //#include <ifaddrs.h>                                                                  // causes warning messages that break the build
 | 
|---|
| [097d3e1] | 75 | #include <inttypes.h>
 | 
|---|
 | 76 | #include <langinfo.h>
 | 
|---|
 | 77 | #include <lastlog.h>
 | 
|---|
 | 78 | #include <libgen.h>
 | 
|---|
 | 79 | #include <libintl.h>
 | 
|---|
 | 80 | #include <limits.h>
 | 
|---|
 | 81 | //#include <link.h>                                                                             // CFA bug #240 nested anonymous enum fails
 | 
|---|
 | 82 | #include <locale.h>
 | 
|---|
| [598dc68] | 83 | #if __has_include( "ltdl.h" )
 | 
|---|
 | 84 | #include <ltdl.h>                                                                               // may not be installed
 | 
|---|
 | 85 | #endif
 | 
|---|
| [40841ff4] | 86 | //#include <malloc.h>                                                                   // cannot include in extern "C" because of CFA #include_next
 | 
|---|
| [097d3e1] | 87 | #include <math.h>
 | 
|---|
 | 88 | #include <mcheck.h>
 | 
|---|
 | 89 | #include <memory.h>
 | 
|---|
| [e6bb667] | 90 | #if __has_include( "menu.h" )
 | 
|---|
 | 91 | #include <menu.h>                                                                               // may not be installed, comes with ncurses
 | 
|---|
 | 92 | #endif
 | 
|---|
| [097d3e1] | 93 | #include <mntent.h>
 | 
|---|
 | 94 | #include <monetary.h>
 | 
|---|
 | 95 | #include <mqueue.h>
 | 
|---|
| [e6bb667] | 96 | #if __has_include( "ncurses_dll.h" )
 | 
|---|
 | 97 | #include <ncurses_dll.h>                                                                // may not be installed, comes with ncurses
 | 
|---|
 | 98 | #endif
 | 
|---|
| [f2a1cd2] | 99 | //#include <netdb.h>
 | 
|---|
| [097d3e1] | 100 | #include <nl_types.h>
 | 
|---|
 | 101 | #include <nss.h>
 | 
|---|
 | 102 | #include <obstack.h>
 | 
|---|
| [e6bb667] | 103 | #if __has_include( "panel.h" )
 | 
|---|
 | 104 | #include <panel.h>                                                                              // may not be installed, comes with ncurses
 | 
|---|
 | 105 | #endif
 | 
|---|
| [097d3e1] | 106 | #include <paths.h>
 | 
|---|
 | 107 | #include <poll.h>
 | 
|---|
 | 108 | #include <printf.h>
 | 
|---|
 | 109 | #include <pthread.h>
 | 
|---|
 | 110 | #include <pty.h>
 | 
|---|
 | 111 | #include <pwd.h>
 | 
|---|
 | 112 | #include <regex.h>
 | 
|---|
| [f2a1cd2] | 113 | //#include <resolv.h>
 | 
|---|
| [097d3e1] | 114 | #include <re_comp.h>
 | 
|---|
 | 115 | #include <sched.h>
 | 
|---|
 | 116 | #include <search.h>
 | 
|---|
 | 117 | #include <semaphore.h>
 | 
|---|
 | 118 | #include <setjmp.h>
 | 
|---|
 | 119 | #include <sgtty.h>
 | 
|---|
 | 120 | #include <shadow.h>
 | 
|---|
 | 121 | #include <signal.h>
 | 
|---|
 | 122 | #include <spawn.h>
 | 
|---|
 | 123 | #include <stab.h>
 | 
|---|
 | 124 | #include <stdc-predef.h>
 | 
|---|
 | 125 | #include <stdint.h>
 | 
|---|
 | 126 | #include <stdio.h>
 | 
|---|
 | 127 | #include <stdio_ext.h>
 | 
|---|
 | 128 | #include <stdlib.h>
 | 
|---|
 | 129 | #include <string.h>
 | 
|---|
 | 130 | #include <strings.h>
 | 
|---|
 | 131 | #include <sudo_plugin.h>
 | 
|---|
 | 132 | #include <syscall.h>
 | 
|---|
 | 133 | #include <sysexits.h>
 | 
|---|
 | 134 | #include <syslog.h>
 | 
|---|
 | 135 | #include <tar.h>
 | 
|---|
| [e6bb667] | 136 | #if __has_include( "term.h" )
 | 
|---|
 | 137 | #include <term.h>                                                                               // may not be installed, comes with ncurses
 | 
|---|
 | 138 | #include <termcap.h>                                                                    // may not be installed, comes with ncurses
 | 
|---|
 | 139 | #endif
 | 
|---|
| [097d3e1] | 140 | #include <termio.h>
 | 
|---|
 | 141 | #include <termios.h>
 | 
|---|
| [36fbaeca] | 142 | // #include <term_entry.h>                                                              // conflicts with search.h on some machines
 | 
|---|
| [097d3e1] | 143 | #include <tgmath.h>
 | 
|---|
| [40841ff4] | 144 | //#include <threads.h>                                                                  // does not exist
 | 
|---|
| [097d3e1] | 145 | #include <thread_db.h>
 | 
|---|
 | 146 | #include <time.h>
 | 
|---|
 | 147 | #include <ttyent.h>
 | 
|---|
 | 148 | #include <uchar.h>
 | 
|---|
 | 149 | #include <ucontext.h>
 | 
|---|
 | 150 | #include <ulimit.h>
 | 
|---|
| [e6bb667] | 151 | #if __has_include( "unctrl.h" )
 | 
|---|
 | 152 | #include <unctrl.h>                                                                             // may not be installed, comes with ncurses
 | 
|---|
 | 153 | #endif
 | 
|---|
| [097d3e1] | 154 | #include <unistd.h>
 | 
|---|
 | 155 | #include <utime.h>
 | 
|---|
 | 156 | #include <utmp.h>
 | 
|---|
 | 157 | #include <utmpx.h>
 | 
|---|
 | 158 | #include <values.h>
 | 
|---|
| [36fbaeca] | 159 | #pragma GCC diagnostic push
 | 
|---|
 | 160 | #pragma GCC diagnostic ignored "-Wattributes"
 | 
|---|
| [097d3e1] | 161 | #include <wait.h>
 | 
|---|
| [36fbaeca] | 162 | #pragma GCC diagnostic pop
 | 
|---|
| [097d3e1] | 163 | #include <wchar.h>
 | 
|---|
 | 164 | #include <wctype.h>
 | 
|---|
 | 165 | #include <wordexp.h>
 | 
|---|
 | 166 | #endif // 0
 | 
|---|
 | 167 | 
 | 
|---|
 | 168 | #ifdef __CFA__
 | 
|---|
 | 169 | } // extern "C"
 | 
|---|
 | 170 | #endif // __CFA__
 | 
|---|
 | 171 | 
 | 
|---|
| [f2a1cd2] | 172 | int main() {
 | 
|---|
| [c14d91a] | 173 |     #pragma GCC warning "Compiled"                                                      // force non-empty .expect file, NO TABS!!!
 | 
|---|
| [097d3e1] | 174 | }
 | 
|---|
 | 175 | 
 | 
|---|
 | 176 | // Local Variables: //
 | 
|---|
 | 177 | // tab-width: 4 //
 | 
|---|
| [40841ff4] | 178 | // compile-command: "cfa includes.cfa" //
 | 
|---|
| [097d3e1] | 179 | // End: //
 | 
|---|