summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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