### flat_include

Searches an #include using a relative path using only the base filename.

##### Syntax

#pragma flat_include on | off | reset

##### Targets

All platforms.

##### Remarks

When on, searches are performed where, for example “#include <sys/stat.h>” is treated the same as “#include <stat.h>”.
This pragma is useful when porting code form a different operating system, or when a project’s access paths cannot reach a given file.

This pragma does not correspond to any panel setting. To check this setting, use the __option (flat_include), described in Checking Settings. The default setting is off.