projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use libevent to age learned MAC addresses.
[tinc]
/
system.h
diff --git
a/system.h
b/system.h
index
6391c39
..
a67498f
100644
(file)
--- a/
system.h
+++ b/
system.h
@@
-1,6
+1,7
@@
/*
/*
- system.h -- header for locale settings
- Copyright (C) 1998,99,2000 Ivo Timmermans <ivo@o2w.nl.com>
+ system.h -- system headers
+ Copyright (C) 1998-2005 Ivo Timmermans
+ 2003-2006 Guus Sliepen <guus@tinc-vpn.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-20,6
+21,18
@@
#ifndef __TINC_SYSTEM_H__
#define __TINC_SYSTEM_H__
#ifndef __TINC_SYSTEM_H__
#define __TINC_SYSTEM_H__
+#include "config.h"
+
+#include "have.h"
+
+#ifndef HAVE_STDBOOL_H
+typedef int bool;
+#define true 1
+#define false 0
+#endif
+
+/* Include localisation support */
+
#include "gettext.h"
#ifndef HAVE_STRSIGNAL
#include "gettext.h"
#ifndef HAVE_STRSIGNAL
@@
-27,7
+40,8
@@
#endif
/* Other functions */
#endif
/* Other functions */
-#include <dropin.h>
+
+#include "dropin.h"
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;