projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove all #ifndefs from route.c
[tinc]
/
src
/
tincd.c
diff --git
a/src/tincd.c
b/src/tincd.c
index
185a96a
..
8ef8c51
100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-17,21
+17,10
@@
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: tincd.c,v 1.10.4.7
2 2003/07/12 17:41:4
7 guus Exp $
+ $Id: tincd.c,v 1.10.4.7
3 2003/07/17 15:06:2
7 guus Exp $
*/
*/
-#include "config.h"
-
-#include <errno.h>
-#include <fcntl.h>
-#include <getopt.h>
-#include <signal.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <signal.h>
-#include <string.h>
-#include <termios.h>
+#include "system.h"
/* Darwin (MacOS/X) needs the following definition... */
#ifndef _P1003_1B_VISIBLE
/* Darwin (MacOS/X) needs the following definition... */
#ifndef _P1003_1B_VISIBLE
@@
-40,10
+29,6
@@
#include <sys/mman.h>
#include <sys/mman.h>
-#ifdef HAVE_SYS_IOCTL_H
-# include <sys/ioctl.h>
-#endif
-
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/pem.h>
#include <openssl/rand.h>
#include <openssl/rsa.h>
#include <openssl/pem.h>
@@
-51,18
+36,14
@@
#include <lzo1x.h>
#include <lzo1x.h>
-#include <utils.h>
-#include <xalloc.h>
-
#include "conf.h"
#include "conf.h"
+#include "logger.h"
#include "net.h"
#include "netutl.h"
#include "process.h"
#include "protocol.h"
#include "net.h"
#include "netutl.h"
#include "process.h"
#include "protocol.h"
-#include "subnet.h"
-#include "logger.h"
-
-#include "system.h"
+#include "utils.h"
+#include "xalloc.h"
/* The name this program was run with. */
char *program_name = NULL;
/* The name this program was run with. */
char *program_name = NULL;