projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename controlcookie file to pidfile.
[tinc]
/
have.h
diff --git
a/have.h
b/have.h
index
073fbaa
..
0ab8134
100644
(file)
--- a/
have.h
+++ b/
have.h
@@
-27,6
+27,7
@@
#else
#define WINVER WindowsXP
#endif
#else
#define WINVER WindowsXP
#endif
+#define WIN32_LEAN_AND_MEAN
#endif
#include <stdio.h>
#endif
#include <stdio.h>
@@
-57,10
+58,6
@@
#include <inttypes.h>
#endif
#include <inttypes.h>
#endif
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
/* Include system specific headers */
#ifdef HAVE_SYSLOG_H
/* Include system specific headers */
#ifdef HAVE_SYSLOG_H
@@
-71,6
+68,10
@@
#include <sys/time.h>
#endif
#include <sys/time.h>
#endif
+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
@@
-103,6
+104,10
@@
#include <sys/uio.h>
#endif
#include <sys/uio.h>
#endif
+#ifdef HAVE_SYS_UN_H
+#include <sys/un.h>
+#endif
+
#ifdef HAVE_DIRENT_H
#include <dirent.h>
#endif
#ifdef HAVE_DIRENT_H
#include <dirent.h>
#endif
@@
-190,4
+195,8
@@
#include <netinet/if_ether.h>
#endif
#include <netinet/if_ether.h>
#endif
+#ifdef HAVE_EVENT_H
+#include <event.h>
+#endif
+
#endif /* __TINC_SYSTEM_H__ */
#endif /* __TINC_SYSTEM_H__ */