Lines Matching defs:include
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38 #include <stdio.h>
39 #include <errno.h>
40 #include <stdlib.h>
41 #include <sys/types.h>
42 #include <time.h>
43 #include <string.h>
45 #include "parser.h"
46 #include "trace.h"
48 #include "util.h"
49 #include "db.h"
50 #include "symtab.h"
51 #include "io.h"
52 #include "printfuncs.h"
53 #include "errlog.h"
54 #include "parseproto.h"
78 { "include", XLATOR_KW_INCL },
302 errlog(FATAL|INPUT, "Bad include line in spec file");
475 * collect_includes -- collect a global list of include files,
487 char *include;
491 if ((include = strtok(p, ", ")) != NULL) {
492 for (; include != NULL; include = strtok(NULL, ", ")) {
493 include = skipb(include);
496 * Make sure the include file's name
500 if (*include != '"' && *include != '<')
503 len = strlen(include);
505 if (include[len-1] != '"' && include[len-1] != '>')
509 * If include filename syntax is OK, add it to
512 symtab_add_includes(include);
974 char *include;
978 for (include = symtab_get_first_include(); include != NULL;
979 include = symtab_get_next_include())
980 (void) fprintf(Headfp, "#include %s\n", include);
982 (void) fprintf(Headfp, "\n#include <stdio.h>\n"
983 "#include <dlfcn.h>\n"
984 "#include <apptrace.h>\n\n");