From: Johannes Sixt Date: Sat, 20 Jun 2009 19:25:10 GMT Subject: Re: [PATCH] daemon: send stderr of service programs to the syslog Message-ID: <200906202125.10844.j6t@kdbg.org> In-Reply-To: <7veitgkm0i.fsf@alter.siamese.dyndns.org> On Freitag, 19. Juni 2009, Junio C Hamano wrote: > Johannes Sixt writes: > > diff --git a/daemon.c b/daemon.c > > index d7ceca4..3e1a354 100644 > > --- a/daemon.c > > +++ b/daemon.c > > @@ -1,6 +1,7 @@ > > #include "cache.h" > > #include "pkt-line.h" > > -#include "exec_cmd.h" > > +#include "run-command.h" > > +#include "strbuf.h" > > CC daemon.o > cc1: warnings being treated as errors > daemon.c: In function 'main': > daemon.c:981: error: implicit declaration of function > 'git_extract_argv0_path' make: *** [daemon.o] Error 1 > > I'll add the include back in the meantime. Oops, you are right! Thanks for noticing it. Silly me: I didn't have -Wall in my CFLAGS. -- Hannes