Lines Matching defs:include
27 #include "def.h"
143 * Add an include file to the list of those included by 'file'.
151 * First, put this file on the global list of include files.
192 * Put this include file (newfile) on the list of files included
193 * by 'file'. If 'file' is NULL, then it is not an include
211 /* no #include SYMBOL lines */
248 * Return full path for the "include" file of the given "type",
252 find_full_inc_path(const char *file, const char *include, int type)
264 (*include == '/')) {
265 if (stat(include, &st) == 0 && !S_ISDIR(st.st_mode))
266 return include;
268 warning1("\tnot in %s\n", include);
272 * If the path was surrounded by "" see if this include file is
279 strcpy(path, include);
284 strcpy(path + (p - file) + 1, include);
295 * Check the include directories specified. Standard include dirs
302 snprintf(path, sizeof(path), "%s/%s", *pp, include);
316 inc_path(const char *file, const char *include, int type)
323 * Check all previously found include files for a path that
330 fp = find_full_inc_path(file, include, type);
337 if ((strcmp(ip->i_incstring, include) == 0) &&
349 return newinclude(fp, include, r_include);