summaryrefslogtreecommitdiffstats
path: root/src/NotificationProxy.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2009-07-24 17:54:06 +0200
committerGravatar Martin Szulecki2009-07-24 17:54:06 +0200
commitfa3465884eee33178d81ace5f538182704311557 (patch)
treeb29580fed2d2023482a8c77bcca10a07ba8d0f11 /src/NotificationProxy.h
parent601e70e8ee757b769bdc10b16e108e846a1a0b93 (diff)
downloadlibimobiledevice-fa3465884eee33178d81ace5f538182704311557.tar.gz
libimobiledevice-fa3465884eee33178d81ace5f538182704311557.tar.bz2
Add missing macro preventing cyclic includes in notification proxy header
Diffstat (limited to 'src/NotificationProxy.h')
-rw-r--r--src/NotificationProxy.h9
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 @@
18 * License along with this library; if not, write to the Free Software 18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */ 20 */
21#include "libiphone/notification_proxy.h" 21#ifndef INOTIFICATION_PROXY_H
22#define INOTIFICATION_PROXY_H
22 23
23#include <glib.h> 24#include <glib.h>
24 25
26#include "libiphone/notification_proxy.h"
27
25struct np_client_int { 28struct np_client_int {
26 int sfd; 29 int sfd;
27 GMutex *mutex; 30 GMutex *mutex;
@@ -42,4 +45,6 @@ static const char *np_default_notifications[11] = {
42 NULL 45 NULL
43}; 46};
44 47
45gpointer np_notifier( gpointer arg ); 48gpointer np_notifier(gpointer arg);
49
50#endif