include: Fix use of <atomic.h> -> <sys/atomic.h>

Fix #include <atomic.h> as it has been deprecated and
should be #include <sys/atomic.h>.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-12-09 11:36:42 -06:00 committed by Anas Nashif
parent 9415a114a0
commit ebbd3cc078

View file

@ -13,7 +13,7 @@ LOG_MODULE_REGISTER(net_coap, CONFIG_COAP_LOG_LEVEL);
#include <stdbool.h>
#include <errno.h>
#include <random/rand32.h>
#include <atomic.h>
#include <sys/atomic.h>
#include <zephyr/types.h>
#include <sys/byteorder.h>