From 5cbfb8dba74b97c376479b220d463bab7f2bca26 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Thu, 20 Mar 2008 22:40:34 -0300 Subject: [PATCH] Minor compile warning fix. NEED_XF86_TYPES is defined in xorg/include/xorg/xorg-server.h. Follow pattern used in some other input modules sources by adding an ifdef to avoid redefining it. --- src/magellan.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/magellan.c b/src/magellan.c index b27d595..fedb01b 100644 --- a/src/magellan.c +++ b/src/magellan.c @@ -45,7 +45,9 @@ #include #include -#define NEED_XF86_TYPES +#ifndef NEED_XF86_TYPES +#define NEED_XF86_TYPES 1 +#endif #include #include #include -- 1.5.3.2