projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Include a few more header files
[tinc]
/
lib
/
dropin.c
diff --git
a/lib/dropin.c
b/lib/dropin.c
index
c26a357
..
a500a03
100644
(file)
--- a/
lib/dropin.c
+++ b/
lib/dropin.c
@@
-17,7
+17,7
@@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id: dropin.c,v 1.1.2.
5 2001/11/05 19:06:07 guus
Exp $
+ $Id: dropin.c,v 1.1.2.
9 2002/06/09 15:26:10 zarq
Exp $
*/
#include "config.h"
*/
#include "config.h"
@@
-28,12
+28,15
@@
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
+#include <stdarg.h>
#include <xalloc.h>
#include <system.h>
#include <errno.h>
#include <xalloc.h>
#include <system.h>
#include <errno.h>
+#include "fake-getnameinfo.c"
+
#ifndef HAVE_DAEMON
/*
Replacement for the daemon() function.
#ifndef HAVE_DAEMON
/*
Replacement for the daemon() function.
@@
-97,6
+100,8
@@
int daemon(int nochdir, int noclose)
dup2(fd, 2);
}
}
dup2(fd, 2);
}
}
+
+ return 0;
}
#endif
}
#endif