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

Re: [Nbd] [PATCH] Make include of "config.h" not use system include path



On 04/10/2016 07:23 AM, Alex Bligh wrote:
> The inclusion of config.h is, I believe, not meant to search
> the system include path. This (nbd-debug.h) is how config.h
> gets included into nbd-server.c.
> 
> Signed-off-by: Alex Bligh <alex@...872...>
> ---
>  nbd-debug.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Eric Blake <eblake@...696...>

> 
> diff --git a/nbd-debug.h b/nbd-debug.h
> index ec8dfd2..f2b1af5 100644
> --- a/nbd-debug.h
> +++ b/nbd-debug.h
> @@ -1,6 +1,6 @@
>  #ifndef NBD_DEBUG_H
>  #define NBD_DEBUG_H
> -#include <config.h>
> +#include "config.h"
>  /* Debugging macros */
>  #ifdef DODBG
>  #define DEBUG(...) printf(__VA_ARGS__)
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: