From 2b01778e58db8f843d3cd29756f8f710a02d7306 Mon Sep 17 00:00:00 2001 From: Littleboy Date: Wed, 22 Jun 2011 20:52:59 -0400 Subject: BACKENDS: Fix compilation with Unity - Replace UNIX by POSIX - Move unity include to cpp file - Add exception for unistd.h and time.h headers --- backends/taskbar/unity/unity-taskbar.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'backends/taskbar/unity/unity-taskbar.h') diff --git a/backends/taskbar/unity/unity-taskbar.h b/backends/taskbar/unity/unity-taskbar.h index 9f14b44d8f..06ea0ca769 100644 --- a/backends/taskbar/unity/unity-taskbar.h +++ b/backends/taskbar/unity/unity-taskbar.h @@ -26,13 +26,14 @@ #ifndef BACKEND_UNITY_TASKBAR_H #define BACKEND_UNITY_TASKBAR_H -#if defined(UNIX) && defined(USE_TASKBAR) && defined(USE_TASKBAR_UNITY) +#if defined(POSIX) && defined(USE_TASKBAR) && defined(USE_TASKBAR_UNITY) #include "common/events.h" #include "common/str.h" #include "common/taskbar.h" -#include +typedef struct _GMainLoop GMainLoop; +typedef struct _UnityLauncherEntry UnityLauncherEntry; class UnityTaskbarManager : public Common::TaskbarManager, public Common::EventSource { public: -- cgit v1.2.3