From cacc352159c5bdaf1c21846cecdd1eb7b031e1d3 Mon Sep 17 00:00:00 2001 From: Yu Shiqiang Date: Wed, 12 Feb 2020 20:00:17 -0500 Subject: [PATCH] Fix issue#26 that gwl->init doesn't show the error code --- daemon/display_window_util_wl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/display_window_util_wl.cpp b/daemon/display_window_util_wl.cpp index 71ad247..b982e0b 100644 --- a/daemon/display_window_util_wl.cpp +++ b/daemon/display_window_util_wl.cpp @@ -22,6 +22,7 @@ #include #include #include +#include /* IAS Wayland library for IPC calls from hdcpd to IAS compositor * * need to set LD_LIBRARY_PATH if library is not in standard path * @@ -76,7 +77,7 @@ EGLNativeDisplayType util_create_display(int screen) /* Call class's function */ ret = gwl->init(); if(ret == 0) { - cerr<<"WL base Class init is failed"<