summaryrefslogtreecommitdiffstats
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
parent601e70e8ee757b769bdc10b16e108e846a1a0b93 (diff)
downloadlibimobiledevice-fa3465884eee33178d81ace5f538182704311557.tar.gz
libimobiledevice-fa3465884eee33178d81ace5f538182704311557.tar.bz2
Add missing macro preventing cyclic includes in notification proxy header
-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 @@
* 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 <glib.h>
+#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