Like xf86-input-synaptics[1], xf86-module-xdbg was also failed when
building with glibc-2.20.
This patch also fixes incorrect xDbgEvlogGetExtensionEntry call.
[1]: https://review.tizen.org/gerrit/#/c/27494/
Change-Id: I3c993dc267b6b500e2cc9755f02e975a67e5588e
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
#ifndef __XDBG_TYPES_H__
#define __XDBG_TYPES_H__
+#include <xorg-server.h>
#include <xf86.h>
#include <X11/Xdefs.h> /* for Bool */
#include <X11/Xlib.h>
#include <stdarg.h>
#include <dlog.h>
+#include <xorg-server.h>
#include "xdbg_log.h"
evinfo.time = GetTimeInMillis ();
/* get extension entry */
- if (!EntryInit && !xDbgEvlogGetExtensionEntry (NULL))
+ if (!EntryInit && !xDbgEvlogGetExtensionEntry())
return;
EntryInit = 1;