Change-Id: I2f0dc21a7f11f6f071f37f6dec78685ce89354ba
Signed-off-by: Gregg Reynolds <reynolds-gregg@norc.org>
Reviewed-on: https://gerrit.iotivity.org/gerrit/8491
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
#include "ResourcePresence.h"
-#include <bits/atomic_base.h>
-#include <bits/shared_ptr_base.h>
+#ifndef __APPLE__
+ #ifndef TARGET_OS_MAC
+ #include <bits/atomic_base.h>
+ #include <bits/shared_ptr_base.h>
+ #endif
+#endif
#include <time.h>
#include <unistd.h>
#include <cstdbool>