Commit f3f7c19b authored by Olaf Bergmann's avatar Olaf Bergmann

Change libcoap include path to coap2

Starting with version 4.2.0, libcoap's header files are in
$prefix/coap2. This change adjusts the pre-processor includes
accordingly.
parent e687c2c9
......@@ -27,8 +27,8 @@
#include <ctype.h>
#include <unistd.h>
#include <coap/coap.h>
#include <coap/coap_dtls.h>
#include <coap2/coap.h>
#include <coap2/coap_dtls.h>
#include "dcaf/dcaf.h"
#include "dcaf/dcaf_am.h"
......
......@@ -28,8 +28,8 @@
#include <sys/random.h>
#endif
#include <coap/coap.h>
#include <coap/coap_dtls.h>
#include <coap2/coap.h>
#include <coap2/coap_dtls.h>
#include "dcaf/dcaf.h"
......
......@@ -26,8 +26,8 @@
#include <sys/random.h>
#endif
#include <coap/coap.h>
#include <coap/coap_dtls.h>
#include <coap2/coap.h>
#include <coap2/coap_dtls.h>
#include "dcaf/dcaf.h"
......
......@@ -39,7 +39,7 @@ typedef enum {
typedef uint64_t coap_tick_t;
void coap_ticks(coap_tick_t *t);
#else /* include libcoap headers */
#include <coap/coap.h>
#include <coap2/coap.h>
#endif /* RIOT_VERSION */
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment