Re: Impact of change to gcompletion.h on building gtk+ on Solaris
- From: Owen Taylor <otaylor redhat com>
- To: gtk-devel-list gnome org
- Subject: Re: Impact of change to gcompletion.h on building gtk+ on Solaris
- Date: 09 May 2001 11:25:27 -0400
"Padraig O'Briain" <Padraig Obriain Sun COM> writes:
> This patch fixes my problem. May I commit?
Go ahead.
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> #include <gmodule.h>
> +#ifdef G_OS_UNIX
> +#include <unistd.h>
> +#endif
> #include "gtkdnd.h"
> #include "gtkcompat.h"
> #include "gtkmain.h"
Though it's slightly better to keep all the system headers together and before
other headers, so I'd do:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifdef G_OS_UNIX
#include <unistd.h>
#endif
#include <gmodule.h>
#include "gtkdnd.h"
#include "gtkcompat.h"
#include "gtkmain.h"
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]