>> --- lxc.git.orig/src/lxc/lxc_init.c >> +++ lxc.git/src/lxc/lxc_init.c >> @@ -36,6 +36,7 @@ >> #include<sys/signalfd.h> >> #include<sys/socket.h> >> #include<linux/limits.h> >> +#include<pty.h> >> > > Hmm... Look at my original post,<pty.h> is included between<utmp.h> > and<stdio.h>. I guess you want to fix this warning: > > In function ‘handle_rexec_connect’: > src/lxc/lxc_init.c:372:3: warning: implicit declaration of function > ‘login_tty’ > > right ?
Yes and I didn't fix anything in fact ... > For a reason I don't fully understand, src/lxc/pty.h gets included > instead of /usr/include/pty.h... hence the warning. src/lxc/pty.h comes with these include options: DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src automake manages this part. I don't know if if can be changed. C. ------------------------------------------------------------------------------ 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