Commit d871d3b4 authored by Konrad Materka's avatar Konrad Materka

[xembed-sni-proxy] Fix compile error when includes ordered

Add forward declaration of struct _XDisplay to fix compile error when
includes are in different order.
parent ad7e4fc0
......@@ -18,8 +18,8 @@
*
*/
#include <X11/extensions/XTest.h>
#include "xtestsender.h"
#include <X11/extensions/XTest.h>
void sendXTestPressed(Display *display, int button)
{
......
......@@ -20,7 +20,7 @@
#ifndef XTEST_SENDER_H
#define XTEST_SENDER_H
typedef _XDisplay Display;
typedef struct _XDisplay Display;
void sendXTestPressed(Display *display, int button);
void sendXTestReleased(Display *display, int button);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment