Is it necessary to #include
some file, if inside a header (*.h), types defined in this file are used?
For instance, if I use GLib and wish to use the gchar
basic type in a structure defined in my header, is it necessary to do a #include <glib.h>
, knowing that I already have it in my *.c file?
If yes do I also have to put it between the #ifndef
and #define
or after the #define
?