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

Re: [lvm-devel] LVM2 ./configure ./configure.in tools/lvm-static.c



On Tue, Jan 20, 2009 at 05:07:54PM -0000, mbroz sourceware org wrote:
> 	Fix problems with static build
> 	- compiler warning (missing header)
 	
> +++ LVM2/tools/lvm-static.c	2009/01/20 17:07:53	1.7
> @@ -14,6 +14,7 @@
>   */
>  
>  #include "lvm2cmdline.h"
> +#include "lib.h"

Two problems here:

  Firsly, lib.h is only for library code - tools use tools.h.

  Secondly, this file must be the first to be included because
it is setting options that might change how files included later
behave.

Alasdair
-- 
agk redhat com


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