Previous: , Up: Changing your sources for use with Gnulib   [Contents][Index]


3.5.3 Style of #include statements

When including including specific header files, you need to use the ‘#include <...>’ syntax, not the ‘#include "..."’ syntax. This is true for the following POSIX or ISO C standardized header files:

as well as for the following header files that exist in the GNU C library but are not standardized:

The reason for this requirement is that for these header files, the Gnulib override uses #include_next to include the system-provided header of the same name, and #include_next may not work right with the ‘#include "..."’ syntax.