Surround public functions requiring X11 headers with #ifndef

MAKE_PROTO; these are in xproto.h, which is not generated by cproto.


git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@941 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Peter Åstrand 2005-08-02 09:27:46 +00:00
parent d134716beb
commit 0663d2ad33

View File

@ -104,6 +104,7 @@ xclip_provide_selection(XSelectionRequestEvent * req, Atom type, unsigned int fo
XSendEvent(g_display, req->requestor, False, NoEventMask, &xev);
}
#ifndef MAKE_PROTO
void
xclip_handle_SelectionNotify(XSelectionEvent * event)
{
@ -366,6 +367,7 @@ xclip_handle_PropertyNotify(XPropertyEvent * event)
cliprdr_send_text_format_announce();
rdesktop_is_selection_owner = 0;
}
#endif
void