| [86bd7c1f] | 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.c -- | 
|---|
|  | 8 | // | 
|---|
| [784deab] | 9 | // Author           : Peter A. Buhr | 
|---|
| [86bd7c1f] | 10 | // Created On       : Wed May 27 17:56:53 2015 | 
|---|
|  | 11 | // Last Modified By : Peter A. Buhr | 
|---|
| [506d4f0] | 12 | // Last Modified On : Wed Sep 30 13:59:18 2020 | 
|---|
|  | 13 | // Update Count     : 598 | 
|---|
| [86bd7c1f] | 14 | // | 
|---|
|  | 15 |  | 
|---|
| [784deab] | 16 | // *********************************************** | 
|---|
|  | 17 | // USE -std=c99 WITH gxx TO GET SAME OUTPUT AS cfa | 
|---|
|  | 18 | // *********************************************** | 
|---|
|  | 19 |  | 
|---|
|  | 20 | #ifdef __CFA__ | 
|---|
|  | 21 | extern "C" { | 
|---|
|  | 22 | #endif // __CFA__ | 
|---|
|  | 23 |  | 
|---|
|  | 24 | #if 1 | 
|---|
|  | 25 | #define _GNU_SOURCE | 
|---|
| [506d4f0] | 26 | // #include <a.out.h> | 
|---|
|  | 27 | // #include <aio.h> | 
|---|
|  | 28 | // #include <aliases.h> | 
|---|
|  | 29 | // #include <alloca.h> | 
|---|
|  | 30 | // #include <ansidecl.h> | 
|---|
|  | 31 | // #include <ar.h> | 
|---|
|  | 32 | // #include <argp.h> | 
|---|
|  | 33 | // #include <argz.h> | 
|---|
|  | 34 | // #include <assert.h> | 
|---|
|  | 35 | // #include <bfd.h> | 
|---|
|  | 36 | // #include <bfdlink.h>                                                                 // keyword with | 
|---|
|  | 37 | // #include <byteswap.h> | 
|---|
|  | 38 | // #include <bzlib.h> | 
|---|
|  | 39 | // #include <cblas.h> | 
|---|
|  | 40 | // #include <cblas_f77.h> | 
|---|
|  | 41 | // #include <complex.h> | 
|---|
|  | 42 | // #include <com_err.h> | 
|---|
|  | 43 | // #include <cpio.h> | 
|---|
|  | 44 |  | 
|---|
|  | 45 | // #include <crypt.h> | 
|---|
|  | 46 | // #include <ctype.h> | 
|---|
|  | 47 | // #include <curses.h> | 
|---|
|  | 48 | // #include <dialog.h> | 
|---|
|  | 49 | // #include <dirent.h> | 
|---|
|  | 50 | // #include <dis-asm.h> | 
|---|
|  | 51 | // #include <dlfcn.h> | 
|---|
|  | 52 | // #include <dlg_colors.h> | 
|---|
|  | 53 | // #include <dlg_config.h> | 
|---|
|  | 54 | // #include <dlg_keys.h> | 
|---|
|  | 55 | // #include <elf.h> | 
|---|
|  | 56 | // #include <endian.h> | 
|---|
|  | 57 | // #include <envz.h> | 
|---|
|  | 58 | // #include <err.h> | 
|---|
|  | 59 | // #include <errno.h> | 
|---|
|  | 60 | // #include <error.h> | 
|---|
|  | 61 | // #include <eti.h> | 
|---|
|  | 62 | // #include <evdns.h> | 
|---|
|  | 63 | // #include <event.h> | 
|---|
| [c3a8ecd] | 64 |  | 
|---|
|  | 65 | // #include <evhttp.h> | 
|---|
|  | 66 | // #include <sys/queue.h> | 
|---|
| [506d4f0] | 67 | // #include <evrpc.h>                                                                           // evrpc.h depends on sys/queue.h | 
|---|
| [c3a8ecd] | 68 | // #include <evutil.h> | 
|---|
|  | 69 | // #include <execinfo.h> | 
|---|
|  | 70 | // #include <expat.h> | 
|---|
|  | 71 | // #include <expat_config.h> | 
|---|
|  | 72 | // #include <expat_external.h> | 
|---|
|  | 73 | // #include <fcntl.h> | 
|---|
|  | 74 | // #include <features.h> | 
|---|
|  | 75 | // #include <fenv.h> | 
|---|
|  | 76 | // #include <fmtmsg.h> | 
|---|
|  | 77 | // #include <fnmatch.h> | 
|---|
|  | 78 | // #include <form.h> | 
|---|
|  | 79 | // #include <fpu_control.h> | 
|---|
|  | 80 | // #include <fstab.h> | 
|---|
|  | 81 | // #include <fts.h> | 
|---|
|  | 82 | // #include <ftw.h> | 
|---|
| [506d4f0] | 83 |  | 
|---|
| [c3a8ecd] | 84 | // #include <gconv.h> | 
|---|
|  | 85 | // #include <getopt.h> | 
|---|
|  | 86 | // #include <gettext-po.h> | 
|---|
|  | 87 | // #include <glob.h> | 
|---|
|  | 88 | // #include <gmp.h> | 
|---|
|  | 89 | // #include <gnu-versions.h> | 
|---|
|  | 90 | // #include <grp.h> | 
|---|
|  | 91 | // #include <gshadow.h> | 
|---|
|  | 92 | // #include <gssapi.h> | 
|---|
| [506d4f0] | 93 | #include <hwloc.h>                                                                              // keyword thread (setjmp) | 
|---|
| [c3a8ecd] | 94 | // #include <iconv.h> | 
|---|
|  | 95 | // #include <idna.h> | 
|---|
|  | 96 | // #include <idn-free.h> | 
|---|
|  | 97 | // #include <idn-int.h> | 
|---|
|  | 98 | // #include <idn-int.h> | 
|---|
|  | 99 | // #include <ifaddrs.h> | 
|---|
|  | 100 | // #include <inttypes.h> | 
|---|
|  | 101 | // #include <jerror.h> | 
|---|
|  | 102 |  | 
|---|
| [784deab] | 103 | //#include <jmorecfg.h> | 
|---|
|  | 104 | //#include <jpegint.h> | 
|---|
| [c3a8ecd] | 105 | // #include <jpeglib.h> | 
|---|
|  | 106 | // #include <kdb.h> | 
|---|
|  | 107 | // #include <krb5.h>                                    // keyword enable | 
|---|
|  | 108 | // #include <langinfo.h> | 
|---|
|  | 109 | // #include <lastlog.h> | 
|---|
|  | 110 | // #include <lber.h> | 
|---|
|  | 111 | // #include <lber_types.h> | 
|---|
|  | 112 | // #include <ldap.h> | 
|---|
|  | 113 | // #include <ldap_cdefs.h> | 
|---|
|  | 114 | // #include <ldap_features.h> | 
|---|
|  | 115 | // #include <ldap_schema.h> | 
|---|
|  | 116 | // #include <ldap_utf8.h> | 
|---|
|  | 117 | // #include <ldif.h> | 
|---|
|  | 118 | // #include <libgen.h> | 
|---|
|  | 119 | // #include <libintl.h> | 
|---|
|  | 120 | // #include <libio.h> | 
|---|
|  | 121 | // #include <libtasn1.h> | 
|---|
|  | 122 | // #include <libudev.h> | 
|---|
|  | 123 | // #include <limits.h> | 
|---|
|  | 124 | // #include <link.h> | 
|---|
|  | 125 | // #include <locale.h> | 
|---|
|  | 126 | // #include <ltdl.h> | 
|---|
|  | 127 | // #include <lzma.h> | 
|---|
|  | 128 | // #include <malloc.h> | 
|---|
|  | 129 | // #include <math.h> | 
|---|
|  | 130 | // #include <mcheck.h> | 
|---|
|  | 131 | // #include <memory.h> | 
|---|
|  | 132 | // #include <menu.h> | 
|---|
|  | 133 | // #include <mntent.h> | 
|---|
|  | 134 | // #include <monetary.h> | 
|---|
|  | 135 | // #include <mqueue.h> | 
|---|
|  | 136 | // #include <ncurses.h> | 
|---|
|  | 137 | // #include <ncurses_dll.h> | 
|---|
|  | 138 | // #include <nc_tparm.h> | 
|---|
|  | 139 | // #include <netdb.h> | 
|---|
|  | 140 | // #include <nl_types.h> | 
|---|
|  | 141 | // #include <nss.h> | 
|---|
|  | 142 | // #include <numa.h> | 
|---|
|  | 143 | // #include <numacompat1.h> | 
|---|
|  | 144 | // #include <numaif.h> | 
|---|
|  | 145 | // #include <obstack.h> | 
|---|
|  | 146 | // #include <panel.h> | 
|---|
|  | 147 | // #include <paths.h> | 
|---|
|  | 148 | // #include <pciaccess.h> | 
|---|
|  | 149 | // #include <pcre.h> | 
|---|
|  | 150 | // //#include <pcreposix.h>                     // conflicts with regex.h | 
|---|
|  | 151 | // #include <plugin-api.h> | 
|---|
|  | 152 | // #include <png.h>                                                                             // setjmp | 
|---|
|  | 153 | // #include <pngconf.h>                                                                 // setjmp | 
|---|
|  | 154 | // #include <poll.h> | 
|---|
|  | 155 | // #include <pr29.h> | 
|---|
|  | 156 | // #include <printf.h> | 
|---|
|  | 157 | // #include <profile.h> | 
|---|
|  | 158 | // #include <pthread.h>                                                                 // setjmp | 
|---|
|  | 159 | // #include <pty.h> | 
|---|
|  | 160 | // #include <punycode.h> | 
|---|
|  | 161 | // #include <pwd.h> | 
|---|
|  | 162 | // #define INIT ;                                               // needed for regex.h | 
|---|
|  | 163 | // #define GETC() 'a' | 
|---|
|  | 164 | // #define PEEKC() 'a' | 
|---|
|  | 165 | // #define UNGETC( c ) ; | 
|---|
|  | 166 | // #define RETURN( ptr ) ; | 
|---|
|  | 167 | // #define ERROR( val ) ; | 
|---|
|  | 168 | // #include <regex.h> | 
|---|
|  | 169 | // //#include <regexp.h>                                // GNU C Library no longer implements | 
|---|
|  | 170 | // #include <resolv.h> | 
|---|
|  | 171 | // #include <re_comp.h> | 
|---|
|  | 172 | // #include <sched.h> | 
|---|
|  | 173 | // #include <search.h> | 
|---|
|  | 174 | // #include <semaphore.h> | 
|---|
|  | 175 | // #include <setjmp.h> | 
|---|
|  | 176 | // #include <sgtty.h> | 
|---|
|  | 177 | // #include <shadow.h> | 
|---|
|  | 178 | // #include <signal.h> | 
|---|
|  | 179 | // #include <spawn.h> | 
|---|
|  | 180 | // #include <stab.h> | 
|---|
|  | 181 | // #include <stdatomic.h> | 
|---|
|  | 182 | // #include <stdarg.h> | 
|---|
|  | 183 | // #include <stdbool.h> | 
|---|
|  | 184 | // #include <stdint.h> | 
|---|
|  | 185 | // #include <stddef.h> | 
|---|
|  | 186 | // #include <stdio.h> | 
|---|
|  | 187 | // #include <stdio_ext.h> | 
|---|
|  | 188 | // #include <stdlib.h> | 
|---|
|  | 189 | // #include <string.h> | 
|---|
|  | 190 | // #include <stringprep.h> | 
|---|
|  | 191 | // #include <strings.h> | 
|---|
|  | 192 | // #include <stropts.h> | 
|---|
|  | 193 | // #include <sudo_plugin.h> | 
|---|
|  | 194 | // #include <symcat.h> | 
|---|
|  | 195 | // #include <syscall.h> | 
|---|
|  | 196 | // #include <sysexits.h> | 
|---|
|  | 197 | // #include <syslog.h> | 
|---|
|  | 198 | // #include <tar.h> | 
|---|
|  | 199 | // #include <term.h> | 
|---|
|  | 200 | // #include <termcap.h> | 
|---|
|  | 201 | // #include <termio.h> | 
|---|
|  | 202 | // #include <termios.h> | 
|---|
|  | 203 | // //#include <term_entry.h> | 
|---|
|  | 204 | // #include <tgmath.h> | 
|---|
|  | 205 | // #include <thread_db.h>                       // CFA bug | 
|---|
|  | 206 | // #include <tic.h> | 
|---|
|  | 207 | // #include <time.h> | 
|---|
|  | 208 | // #include <tld.h> | 
|---|
|  | 209 | // #include <ttyent.h> | 
|---|
|  | 210 | // #include <turbojpeg.h> | 
|---|
|  | 211 | // #include <ucontext.h> | 
|---|
|  | 212 | // #include <ulimit.h> | 
|---|
|  | 213 | // #include <unctrl.h> | 
|---|
|  | 214 | // #include <unistd.h> | 
|---|
|  | 215 | // #include <ustat.h> | 
|---|
|  | 216 | // #include <utime.h> | 
|---|
|  | 217 | // #include <utmp.h> | 
|---|
|  | 218 | // #include <utmpx.h> | 
|---|
|  | 219 | // #include <wait.h> | 
|---|
|  | 220 | // #include <wchar.h> | 
|---|
|  | 221 | // #include <wctype.h> | 
|---|
|  | 222 | // #include <wordexp.h> | 
|---|
|  | 223 | // #include <xlocale.h> | 
|---|
|  | 224 | // #include <values.h> | 
|---|
|  | 225 | // #include <zconf.h> | 
|---|
|  | 226 | // #include <zlib.h> | 
|---|
|  | 227 | // #include <_G_config.h> | 
|---|
|  | 228 |  | 
|---|
|  | 229 | // #include <jpeglib.h>                         // after stdlib.h/stdio.h | 
|---|
|  | 230 | // #include <jpegint.h> | 
|---|
|  | 231 | // #include <jmorecfg.h> | 
|---|
|  | 232 | #if 0 | 
|---|
| [784deab] | 233 | #endif // 0 | 
|---|
|  | 234 |  | 
|---|
| [17cd4eb] | 235 | #else | 
|---|
| [784deab] | 236 |  | 
|---|
| [4e06c1e] | 237 | #define _GNU_SOURCE | 
|---|
| [784deab] | 238 |  | 
|---|
| [c3a8ecd] | 239 | #include <setjmp.h> | 
|---|
| [4e06c1e] | 240 |  | 
|---|
| [17cd4eb] | 241 | #endif // 0 | 
|---|
| [42dcae7] | 242 |  | 
|---|
| [784deab] | 243 | #ifdef __CFA__ | 
|---|
|  | 244 | } // extern "C" | 
|---|
|  | 245 | #endif // __CFA__ | 
|---|
|  | 246 |  | 
|---|
| [42dcae7] | 247 | // Local Variables: // | 
|---|
| [86bd7c1f] | 248 | // tab-width: 4 // | 
|---|
|  | 249 | // compile-command: "cfa includes.c" // | 
|---|
| [42dcae7] | 250 | // End: // | 
|---|