Use conditional compilation for device.c.
This requires the automake option "subdir-objects" to be enabled, and it becomes more critical to specify the exact path to local header files.
This commit is contained in:
parent
9f8020a09c
commit
e70b5b5bd7
12 changed files with 96 additions and 70 deletions
|
|
@ -19,19 +19,19 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "system.h"
|
||||
#include "../system.h"
|
||||
|
||||
#include <sys/stropts.h>
|
||||
#include <sys/sockio.h>
|
||||
#include <net/if_tun.h>
|
||||
|
||||
#include "conf.h"
|
||||
#include "device.h"
|
||||
#include "logger.h"
|
||||
#include "names.h"
|
||||
#include "net.h"
|
||||
#include "utils.h"
|
||||
#include "xalloc.h"
|
||||
#include "../conf.h"
|
||||
#include "../device.h"
|
||||
#include "../logger.h"
|
||||
#include "../names.h"
|
||||
#include "../net.h"
|
||||
#include "../utils.h"
|
||||
#include "../xalloc.h"
|
||||
|
||||
#define DEFAULT_DEVICE "/dev/tun"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue