include: Move header files into libcoap namespace

I.E. '#include "mem.h"' becomes '#include "coap2/mem.h"'

This prevents header name clashes.

Replacement for #487
This commit is contained in:
Jon Shallow committed 2021-03-08 16:45:02 +00:00
1 parent 4efb04d4d4
commit 0c031d7904
68 files changed
+149 -146

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
* README for terms of use.
*/
#include "coap_internal.h"
#include "coap2/coap_internal.h"
#if defined(HAVE_STRNLEN) && defined(__GNUC__) && !defined(_GNU_SOURCE)
#define _GNU_SOURCE 1