Exclude dlog dependency when dlog disabled.
[platform/core/uifw/libtbm.git] / src / tbm_bufmgr_int.h
index 6c04808..07e86a4 100644 (file)
@@ -48,7 +48,9 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include <errno.h>
 #include <assert.h>
 #include <pthread.h>
+#if ENABLE_DLOG
 #include <dlog.h>
+#endif
 #include <tbm_bufmgr.h>
 #include <tbm_bo.h>
 #include <tbm_surface.h>
@@ -307,10 +309,11 @@ void _tbm_bufmgr_mutex_lock(void);
 void _tbm_bufmgr_mutex_unlock(void);
 tbm_bo tbm_bufmgr_internal_find_bo(tbm_bufmgr bufmgr, tbm_bo bo);
 
-tbm_bo tbm_bufmgr_internal_alloc_bo(tbm_bufmgr bufmgr, int size, int flags, tbm_error_e *error);
+tbm_bo tbm_bufmgr_internal_alloc_bo(tbm_bufmgr bufmgr, int size, int flags);
 tbm_bo tbm_bufmgr_internal_alloc_bo_with_format(tbm_bufmgr bufmgr, int format, int bo_idx, int width, int bpp, int height, tbm_bo_memory_type flags, tbm_error_e *error);
 tbm_bo tbm_bufmgr_internal_alloc_bo_with_bo_data(tbm_bufmgr bufmgr, tbm_bo_data *bo_data, int flags, tbm_error_e *error);
 tbm_bo tbm_bufmgr_internal_import_bo_with_key(tbm_bufmgr bufmgr, tbm_key key);
 tbm_bo tbm_bufmgr_internal_import_bo_with_fd(tbm_bufmgr bufmgr, tbm_fd fd);
+int    tbm_bufmgr_internal_support_capabilites(tbm_bufmgr bufmgr, int capabilities);
 
 #endif /* _TBM_BUFMGR_INT_H_ */