Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
testdir = $(bindir)
-AM_CFLAGS = -I$(top_srcdir)/../../include/external/ -I$(top_srcdir)/src -I$(top_srcdir)/src/x11
+AM_CFLAGS = -I$(top_srcdir)/../../include/external/ -I$(top_srcdir)/src -I$(top_srcdir)/src/X11
TESTS = $(check_PROGRAMS)
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#include <va_x11.h>
+#include <X11/va_x11.h>
#include <stdarg.h>
#include <stdio.h>
else
name = argv[0];
- dpy = XOpenDisplay(NULL);
+ dpy = XOpenDisplay(":0.0");
if (NULL == dpy)
{
fprintf(stderr, "%s: Error, can't open display: '%s'\n", name, display ? display : "");