Re: [PATCH spice-gtk] continuation: fix make distcheck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 26, 2013 at 07:41:41PM +0100, Marc-André Lureau wrote:
> Since 0508f586,  errno.h is included above #undef _FORTIFY_SOURCE.
> 
> But it must be placed above system headers to take effect
> ---
>  gtk/continuation.c | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/gtk/continuation.c b/gtk/continuation.c
> index d1249d6..c11d810 100644
> --- a/gtk/continuation.c
> +++ b/gtk/continuation.c
> @@ -18,10 +18,14 @@
>   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
>   */
>  #include <config.h>
> -#include <errno.h>
> -#include <glib.h>
>  
> +/* keep this above system headers, but bellow config.h */

"below"

ACK

> +#ifdef _FORTIFY_SOURCE
>  #undef _FORTIFY_SOURCE
> +#endif
> +
> +#include <errno.h>
> +#include <glib.h>
>  
>  #include "continuation.h"
>  
> -- 
> 1.8.4.2
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: pgpNDmlryaXjK.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]