You need to include the header from your header, and there's no need to include it in the .c. Includes should go after the #define so they are not unnecessarily included multiple times. For example:

    /* myHeader.h */
    #ifndef MY_HEADER_H
    #define MY_HEADER_H

    #include <glib.h>

    struct S
    {
        gchar c;
    };

    #endif /* MY_HEADER_H */

and

    /* myCode.c */
    #include "myHeader.h"
    
    void myFunction()
    {
        struct S s;
        /* really exciting code goes here */
    }