summaryrefslogtreecommitdiff
path: root/hw/xwin/wintrayicon.c
diff options
context:
space:
mode:
authorAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-04 22:10:43 +0000
committerAlexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de>2005-07-04 22:10:43 +0000
commit508cdb5cb01a91b1bf3ef31da80b6b1d36286bf0 (patch)
tree551e89f7936f87c5c3843e5a8ef396cbbd1eb196 /hw/xwin/wintrayicon.c
parent5e50ae22bf206d6c2cc05e772e05fa5a363acb81 (diff)
Include xwin-config.h if HAVE_XWIN_CONFIG is defined Cleanup X11 includes
handling Warning fixes
Diffstat (limited to 'hw/xwin/wintrayicon.c')
-rwxr-xr-xhw/xwin/wintrayicon.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/xwin/wintrayicon.c b/hw/xwin/wintrayicon.c
index 538510291..bf7305c9c 100755
--- a/hw/xwin/wintrayicon.c
+++ b/hw/xwin/wintrayicon.c
@@ -30,6 +30,9 @@
*/
/* $XFree86: $ */
+#ifdef HAVE_XWIN_CONFIG_H
+#include <xwin-config.h>
+#endif
#include "win.h"
#include <shellapi.h>
#include "winprefs.h"
@@ -111,7 +114,7 @@ winHandleIconMessage (HWND hwnd, UINT message,
WPARAM wParam, LPARAM lParam,
winPrivScreenPtr pScreenPriv)
{
-#ifdef XWIN_MULTIWINDOWEXTWM
+#if defined(XWIN_MULTIWINDOWEXTWM) || defined(XWIN_MULTIWINDOW)
winScreenInfo *pScreenInfo = pScreenPriv->pScreenInfo;
#endif