Better integration of libevent in build system.
Since event.h is not part of tinc, we include it in have.h were all other system header files are included. We also ensure -levent comes before -lgdi32 when compiling with MinGW, apparently it doesn't work when the order is reversed.
This commit is contained in:
parent
075264a9e1
commit
5c5548fc71
4 changed files with 6 additions and 5 deletions
|
|
@ -21,8 +21,6 @@
|
|||
#ifndef __TINC_NET_H__
|
||||
#define __TINC_NET_H__
|
||||
|
||||
#include <event.h>
|
||||
|
||||
#include "ipv6.h"
|
||||
#include "cipher.h"
|
||||
#include "digest.h"
|
||||
|
|
|
|||
|
|
@ -21,8 +21,6 @@
|
|||
#ifndef __TINC_NODE_H__
|
||||
#define __TINC_NODE_H__
|
||||
|
||||
#include <event.h>
|
||||
|
||||
#include "splay_tree.h"
|
||||
#include "cipher.h"
|
||||
#include "connection.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue