From fa3465884eee33178d81ace5f538182704311557 Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Fri, 24 Jul 2009 17:54:06 +0200 Subject: [PATCH] Add missing macro preventing cyclic includes in notification proxy header --- src/NotificationProxy.h | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/NotificationProxy.h b/src/NotificationProxy.h index 02f4251..bc5be43 100644 --- a/src/NotificationProxy.h +++ b/src/NotificationProxy.h @@ -18,10 +18,13 @@ * License along with this library; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "libiphone/notification_proxy.h" +#ifndef INOTIFICATION_PROXY_H +#define INOTIFICATION_PROXY_H #include +#include "libiphone/notification_proxy.h" + struct np_client_int { int sfd; GMutex *mutex; @@ -42,4 +45,6 @@ static const char *np_default_notifications[11] = { NULL }; -gpointer np_notifier( gpointer arg ); +gpointer np_notifier(gpointer arg); + +#endif -- 1.6.0.2