On 11/03/2011 05:41 PM, Greg Kurz wrote: > To avoid name collisions between local and system header > files. For example, if you try to include the<pty.h> > system file, you end up including the one from lxc...
<utmp.h> is the one. couldn't we just kill this header file which only contains one declaration for start.c ? I'm not in favor of touching the automake internals for just one warning. C. > Signed-off-by: Greg Kurz<gk...@fr.ibm.com> > --- > > src/lxc/Makefile.am | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am > index 4215a94..5be796d 100644 > --- a/src/lxc/Makefile.am > +++ b/src/lxc/Makefile.am > @@ -53,7 +53,12 @@ liblxc_so_SOURCES = \ > \ > utmp.c utmp.h > > -AM_CFLAGS=-I$(top_srcdir)/src \ > +DEFAULT_INCLUDES = \ > + -iquote $(builddir) \ > + -iquote $(srcdir) \ > + -iquote $(top_builddir)/src > + > +AM_CFLAGS = \ > -DLXCROOTFSMOUNT=\"$(LXCROOTFSMOUNT)\" \ > -DLXCPATH=\"$(LXCPATH)\" \ > -DLXCINITDIR=\"$(LXCINITDIR)\" > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Lxc-devel mailing list > Lxc-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lxc-devel > ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel