+ /* if we are creating a private header see if it was included */
+ if(outph) {
+ p = g_strconcat(filebase,"-private.h",NULL);
+ if(!g_list_find_custom(include_files,p,(GCompareFunc)strcmp)) {
+ out_printf(out,"#include \"%s-private.h\"\n\n",
+ filebase);
+ if(found_header)
+ print_error(TRUE,
+ "Implicit private header include "
+ "added to top of\n"
+ "\tsource file, while public "
+ "header is at a custom location, "
+ "you should\n"
+ "\texplicitly include "
+ "the private header below the "
+ "public one.", 0);
+ }
+ g_free(p);
+ }
+