added missing include to g_misc.c