From fbca6f8a30f779a62126afef780dcd20289def83 Mon Sep 17 00:00:00 2001 From: Martin Lenders <mail@martin-lenders.de> Date: Wed, 22 May 2013 16:27:28 +0200 Subject: [PATCH] Make include paths in destiny relative * When included by other modules the absolute paths of destiny lead to problems --- sys/net/destiny/socket.h | 2 +- sys/net/destiny/tcp.h | 2 +- sys/net/destiny/tcp_hc.c | 4 ++-- sys/net/destiny/udp.c | 8 ++++---- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/net/destiny/socket.h b/sys/net/destiny/socket.h index 7737ae414e..bcda907332 100644 --- a/sys/net/destiny/socket.h +++ b/sys/net/destiny/socket.h @@ -12,7 +12,7 @@ #include "tcp.h" #include "udp.h" #include "in.h" -#include "sys/net/sixlowpan/sixlowip.h" +#include "../sixlowpan/sixlowip.h" /* * Types diff --git a/sys/net/destiny/tcp.h b/sys/net/destiny/tcp.h index 576b2c73fa..f2c37dbb66 100644 --- a/sys/net/destiny/tcp.h +++ b/sys/net/destiny/tcp.h @@ -71,7 +71,7 @@ enum tcp_codes #define TCP_STACK_SIZE 1024 -#include "sys/net/sixlowpan/sixlowip.h" +#include "../sixlowpan/sixlowip.h" typedef struct __attribute__ ((packed)) tcp_mms_o_t { diff --git a/sys/net/destiny/tcp_hc.c b/sys/net/destiny/tcp_hc.c index b3b6d14fd4..97f3827eae 100644 --- a/sys/net/destiny/tcp_hc.c +++ b/sys/net/destiny/tcp_hc.c @@ -12,8 +12,8 @@ #include "tcp_hc.h" #include "socket.h" #include "tcp.h" -#include "sys/net/sixlowpan/sixlowip.h" -#include "sys/net/net_help/net_help.h" +#include "../sixlowpan/sixlowip.h" +#include "../net_help/net_help.h" #ifdef TCP_HC diff --git a/sys/net/destiny/udp.c b/sys/net/destiny/udp.c index 30a0c8b786..b96738e2c8 100644 --- a/sys/net/destiny/udp.c +++ b/sys/net/destiny/udp.c @@ -5,12 +5,12 @@ #include "udp.h" #include "msg.h" -#include "sys/net/sixlowpan/sixlowip.h" -#include "sys/net/sixlowpan/sixlowpan.h" +#include "../sixlowpan/sixlowip.h" +#include "../sixlowpan/sixlowpan.h" #include "socket.h" #include "in.h" -#include "sys/net/net_help/net_help.h" -#include "sys/net/net_help/msg_help.h" +#include "../net_help/net_help.h" +#include "../net_help/msg_help.h" uint16_t udp_csum(ipv6_hdr_t *ipv6_header, udp_hdr_t *udp_header) { -- GitLab