replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git] / resource / csdk / stack / include / internal / occlientcb.h
index 2fcdb29..a4c2366 100644 (file)
@@ -36,6 +36,7 @@
 #include "ocresource.h"
 #include "cacommon.h"
 
+#ifdef WITH_PRESENCE
 /**
  * Data structure For presence Discovery.
  * This is the TTL associated with presence.
@@ -51,6 +52,7 @@ typedef struct OCPresence
     /** TTL Level. */
     uint32_t TTLlevel;
 } OCPresence;
+#endif // WITH_PRESENCE
 
 /**
  * Forward declaration of resource type.