[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



Well, gcc doesn't really care about the difference much anymore (-I
works for "" as wel as <>), but meh, you're probably right.

On Sun, Apr 10, 2016 at 02:23:22PM +0100, 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(-)
> 
> 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__)
> -- 
> 1.9.1
> 
> 
> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
> gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
> _______________________________________________
> Nbd-general mailing list
> Nbd-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nbd-general
> 

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
       people in the world who think they really understand all of its rules,
       and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12



Reply to: