1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Fix build

Submitted by:	Dmitry Karasik <dmitry@karasik.eu.org> (maintainer)
This commit is contained in:
Pav Lucistnik 2009-01-24 09:56:15 +00:00
parent 232935b6d6
commit c41e70c2e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=226767

View File

@ -0,0 +1,50 @@
Index: apricot.h
===================================================================
RCS file: /pub/prima.eu.org/cvs/prima/Prima/include/apricot.h,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -r1.192 -r1.193
--- include/apricot.h 28 Apr 2008 20:54:03 -0000 1.192
+++ include/apricot.h 6 Nov 2008 10:54:37 -0000 1.193
@@ -24,7 +24,7 @@
* SUCH DAMAGE.
*/
-/* $Id: apricot.h,v 1.192 2008/04/28 20:54:03 dk Exp $ */
+/* $Id: apricot.h,v 1.193 2008/11/06 10:54:37 dk Exp $ */
#ifndef _APRICOT_H_
#define _APRICOT_H_
@@ -423,6 +423,10 @@
/* Event structures */
+#ifdef KeyEvent
+#undef KeyEvent
+#endif
+
typedef struct _KeyEvent {
int cmd;
int subcmd;
@@ -433,6 +437,10 @@
int repeat;
} KeyEvent, *PKeyEvent;
+#ifdef PositionalEvent
+#undef PositionalEvent
+#endif
+
typedef struct _PositionalEvent {
int cmd;
int subcmd;
@@ -443,6 +451,10 @@
Bool dblclk;
} PositionalEvent, *PPositionalEvent;
+#ifdef GenericEvent
+#undef GenericEvent
+#endif
+
typedef struct _GenericEvent {
int cmd;
int subcmd;